aboutsummaryrefslogtreecommitdiff
path: root/app/auth/forms.py
diff options
context:
space:
mode:
authorGertjan van den Burg <gertjanvandenburg@gmail.com>2019-06-03 15:21:49 +0100
committerGertjan van den Burg <gertjanvandenburg@gmail.com>2019-06-03 15:21:49 +0100
commit0bfd9cb7e0ba942053cf3899b2e73f340161629c (patch)
tree1e0a336f9e14002efa14779572c8fe024968e95d /app/auth/forms.py
parentRewrite the task assignment flow (diff)
downloadAnnotateChange-0bfd9cb7e0ba942053cf3899b2e73f340161629c.tar.gz
AnnotateChange-0bfd9cb7e0ba942053cf3899b2e73f340161629c.zip
Automatically logout users
This accompanies the new task assignment strategy. By logging users out, we have a chance of assigning them new tasks when they login again. If they would never be logged out, it wouldn't be straightforward to decide when to assign them new tasks.
Diffstat (limited to 'app/auth/forms.py')
-rw-r--r--app/auth/forms.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/auth/forms.py b/app/auth/forms.py
index 5bff46f..7758342 100644
--- a/app/auth/forms.py
+++ b/app/auth/forms.py
@@ -3,7 +3,7 @@
from flask import current_app
from flask_wtf import FlaskForm
-from wtforms import StringField, PasswordField, BooleanField, SubmitField
+from wtforms import StringField, PasswordField, SubmitField
from wtforms.validators import DataRequired, ValidationError, Email, EqualTo
from app.models import User
@@ -12,7 +12,6 @@ from app.models import User
class LoginForm(FlaskForm):
username = StringField("Username", validators=[DataRequired()])
password = PasswordField("Password", validators=[DataRequired()])
- remember_me = BooleanField("Remember Me")
submit = SubmitField("Sign In")