Development
This commit is contained in:
parent
fff0835553
commit
19be151c70
7 changed files with 230 additions and 31 deletions
|
|
@ -56,4 +56,10 @@ def form_login():
|
|||
session['apply_changes_immediately'] = False
|
||||
session.permanent = True
|
||||
|
||||
import uuid as _uuid
|
||||
sid = str(_uuid.uuid4())
|
||||
session['session_id'] = sid
|
||||
import config_utils as _cu
|
||||
_cu.record_session_login(sid, account['email_address'], account.get('access_level', 'viewer'))
|
||||
|
||||
return redirect('/overview')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue