dwipper commited on
Commit
e93b1e1
·
1 Parent(s): 30916df

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -68,7 +68,10 @@ def login_auth(username, password):
68
  log_login(username)
69
 
70
  #Set the global logged_in_user variable. This used in the append_to_at_qalog function to track what user asked the question
71
- global logged_in_user
 
 
 
72
  logged_in_user = username
73
 
74
  return True
 
68
  log_login(username)
69
 
70
  #Set the global logged_in_user variable. This used in the append_to_at_qalog function to track what user asked the question
71
+ global logged_in_user,user_user_role, user_output_format, user_school
72
+ user_user_role = user_details.get('user_role')
73
+ user_output_format = user_details.get('output_format')
74
+ user_school = user_details.get('school_name', [None])[0]
75
  logged_in_user = username
76
 
77
  return True