added missing get_session
parent
c9e47ec111
commit
7fb71a6230
|
@ -32,6 +32,9 @@ def get_matches(user_id):
|
|||
def index():
|
||||
if not 'user_id' in session:
|
||||
redirect(url_for('index'))
|
||||
|
||||
dbsession = get_session()
|
||||
|
||||
user_id = session["user_id"]
|
||||
username = session["username"]
|
||||
|
||||
|
|
Loading…
Reference in New Issue