diff options
Diffstat (limited to 'servo/views/account.py')
-rw-r--r-- | servo/views/account.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/servo/views/account.py b/servo/views/account.py index a2e979b..0b894e0 100644 --- a/servo/views/account.py +++ b/servo/views/account.py @@ -17,7 +17,7 @@ from django.shortcuts import redirect, render, get_object_or_404 from servo.lib.utils import paginate from servo.views.order import prepare_list_view -from servo.models import Order, User +from servo.models import Order, User, Configuration from servo.forms.account import ProfileForm, RegistrationForm, LoginForm @@ -81,8 +81,10 @@ def orders(request): def login(request): """User trying to log in.""" + title = _("Sign In") form = LoginForm() + show_checkin = Configuration.checkin_enabled() if 'username' in request.POST: |