aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPriit Laes <plaes@plaes.org>2010-08-07 11:47:10 +0300
committerPriit Laes <plaes@plaes.org>2010-08-07 11:47:10 +0300
commit77733d3dbdc12cfc695bb569f4e915b63295dbfc (patch)
tree21677e44b62158b51760b30da8d8fd20e851b028
parentAdd access restrictions to account and dashboard views (diff)
downloadgsoc2010-grumpy-77733d3dbdc12cfc695bb569f4e915b63295dbfc.tar.gz
gsoc2010-grumpy-77733d3dbdc12cfc695bb569f4e915b63295dbfc.tar.bz2
gsoc2010-grumpy-77733d3dbdc12cfc695bb569f4e915b63295dbfc.zip
Gah.. we cannot really "protect" dashboard view ;)
-rw-r--r--grumpy/webapp.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/grumpy/webapp.py b/grumpy/webapp.py
index 7ce1f56..800bf06 100644
--- a/grumpy/webapp.py
+++ b/grumpy/webapp.py
@@ -28,7 +28,6 @@ def before_request():
g.user = User.query.filter_by(openid=session['openid']).first()
@app.route('/')
-@requires_auth
def dashboard():
if g.user is None:
return redirect(url_for('index'))