mirror of
https://github.com/pretix/pretix.git
synced 2026-05-03 14:54:04 +00:00
Added python3.5-style type annotations to pretix.base
This commit is contained in:
@@ -43,7 +43,7 @@ class LoginForm(forms.Form):
|
||||
|
||||
return self.cleaned_data
|
||||
|
||||
def confirm_login_allowed(self, user):
|
||||
def confirm_login_allowed(self, user: User):
|
||||
"""
|
||||
Controls whether the given User may log in. This is a policy setting,
|
||||
independent of end-user authentication. This default behavior is to
|
||||
|
||||
Reference in New Issue
Block a user