1
0
Fork 0
mirror of https://github.com/Lynnesbian/FediBooks/ synced 2024-12-27 14:58:59 +00:00

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():