5 lines
206 B

from django.contrib.auth.forms import AuthenticationForm
from django.forms import BooleanField
class LoginForm(AuthenticationForm):
disable_logout = BooleanField(label="Neodhlašovat", required=False)