summaryrefslogtreecommitdiffstats
path: root/accounts/views/login/__init__.py
diff options
context:
space:
mode:
authorAlexander Sulfrian <alex@spline.inf.fu-berlin.de>2016-02-25 01:39:00 +0100
committerwww-data <www-data@vm-accounts.spline.inf.fu-berlin.de>2016-02-27 00:39:58 +0100
commitc7e25ef1937f0b584393c6fc84b0ceb2503834f9 (patch)
tree819b0911d2b35c65679d342a8c2dabdf826b3a6c /accounts/views/login/__init__.py
parent6d6449f6e74455c7df08eb8e7cbca8ad426b3386 (diff)
downloadweb-c7e25ef1937f0b584393c6fc84b0ceb2503834f9.tar.gz
web-c7e25ef1937f0b584393c6fc84b0ceb2503834f9.tar.bz2
web-c7e25ef1937f0b584393c6fc84b0ceb2503834f9.zip
login: Add missing parentheses
Diffstat (limited to 'accounts/views/login/__init__.py')
-rw-r--r--accounts/views/login/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/accounts/views/login/__init__.py b/accounts/views/login/__init__.py
index 4546b14..18dc070 100644
--- a/accounts/views/login/__init__.py
+++ b/accounts/views/login/__init__.py
@@ -13,7 +13,7 @@ bp = Blueprint('login', __name__)
@bp.route('/login', methods=['GET', 'POST'])
def login():
- if current_user.is_authenticated:
+ if current_user.is_authenticated():
return redirect(url_for('default.index'))
form = LoginForm(request.form)