fixed another bad link

This commit is contained in:
Lynne Megido 2019-09-19 19:54:28 +10:00 committed by GitHub
parent 798b5a484b
commit ba1edf9768
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,7 @@ def login_check():
if request.path not in ['/', '/about', '/welcome', '/login', '/signup', '/do/login', '/do/signup', '/static/style.css'] and not request.path.startswith("/push"):
# page requires authentication
if 'user_id' not in session:
return redirect(url_for('home'))
return redirect(url_for('render_home'))
@app.route("/")
def render_home():