File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11## 2.2
22
33* Added Support for AbstractBaseUser that has username field other than username, thanks to @ganiyevuz for reporting and suggesting the fix.
4+ * Allowed username to be non-string e.g phone number or telegram id, thanks to @ganiyevuz for reporting and suggesting the fix.
45
56## 2.1
67
Original file line number Diff line number Diff line change @@ -145,8 +145,8 @@ def test_authenticate_flow_with_session(self):
145145 self .assertEqual (response .status_code , 200 )
146146 result = response .json ()
147147 self .assertEqual (result ['username' ], 'test' )
148- # self.assertEqual(result['token_type'], 'session')
149- self .assertEqual (result ['token_type' ], 'jwt' )
148+ self .assertEqual (result ['token_type' ], 'session' )
149+ # self.assertEqual(result['token_type'], 'jwt')
150150
151151 def test_authenticate_options_with_username (self ):
152152 device = self ._register_key ()
Original file line number Diff line number Diff line change 44
55setup (
66 name = 'django-passkeys' ,
7- version = '2.2b1 ' ,
7+ version = '2.2b2 ' ,
88 description = 'A Django Authentication Backend for Passkeys' ,
99 long_description = open ("README.md" ).read (),
1010 long_description_content_type = "text/markdown" ,
You can’t perform that action at this time.
0 commit comments