mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 06:42:16 +00:00
API authentication (/api/login) now uses a seperate API password field.
This commit is contained in:
@@ -117,3 +117,8 @@ class UserLookupForm(forms.Form):
|
||||
raise forms.ValidationError("Account doesn't exist")
|
||||
|
||||
return self.cleaned_data
|
||||
|
||||
class APIPasswordForm(forms.Form):
|
||||
|
||||
password = forms.CharField(widget=forms.PasswordInput, label="Password" )
|
||||
|
||||
|
||||
Reference in New Issue
Block a user