summaryrefslogtreecommitdiffstats
path: root/accounts/forms.py
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2016-01-24 03:55:49 +0100
committerAlexander Sulfrian <alexander@sulfrian.net>2016-02-02 04:22:16 +0100
commit5e7e7fc832d26178a6036ed483fe3cfffe2b22b2 (patch)
treec74302270b7c262d744876f1d2f93bc84c44a2ba /accounts/forms.py
parent6eb1db6bff15e1611767f5219ee1b4ea558e3d28 (diff)
downloadweb-5e7e7fc832d26178a6036ed483fe3cfffe2b22b2.tar.gz
web-5e7e7fc832d26178a6036ed483fe3cfffe2b22b2.tar.bz2
web-5e7e7fc832d26178a6036ed483fe3cfffe2b22b2.zip
Encrypt the session data by default
Before we just encrypted the password, now we encrypt the whole session information by default.
Diffstat (limited to 'accounts/forms.py')
-rw-r--r--accounts/forms.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/accounts/forms.py b/accounts/forms.py
index 4385e7a..9e2e8f3 100644
--- a/accounts/forms.py
+++ b/accounts/forms.py
@@ -5,8 +5,7 @@ from flask.ext.wtf import Form
from wtforms import TextField, PasswordField, ValidationError, BooleanField,\
validators
from functools import partial
-from utils import _username_re, _username_exclude_re, decrypt_password,\
- NotRegexp, url_for
+from utils import _username_re, _username_exclude_re, NotRegexp, url_for
username = partial(TextField, 'Benutzername', [validators.Regexp(_username_re,