mamweb/various/autentizace/forms.py

6 lines
206 B
Python
Raw Normal View History

2022-07-07 20:56:44 +02:00
from django.contrib.auth.forms import AuthenticationForm
from django.forms import BooleanField
class LoginForm(AuthenticationForm):
disable_logout = BooleanField(label="Neodhlašovat", required=False)