snipt/forms.py

7 lines
182 B
Python
Raw Normal View History

2016-05-11 08:10:19 -07:00
from django.contrib.auth.forms import AuthenticationForm
class AuthenticationFormWithInactiveUsersOkay(AuthenticationForm):
def confirm_login_allowed(self, user):
pass