parent
f5c9bbd3e3
commit
fe99fb860f
|
@ -214,11 +214,6 @@ class AuthenticationForm(forms.Form):
|
||||||
code='inactive',
|
code='inactive',
|
||||||
)
|
)
|
||||||
|
|
||||||
def get_user_id(self):
|
|
||||||
if self.user_cache:
|
|
||||||
return self.user_cache.id
|
|
||||||
return None
|
|
||||||
|
|
||||||
def get_user(self):
|
def get_user(self):
|
||||||
return self.user_cache
|
return self.user_cache
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue