Skip to content

Commit 7ec94f2

Browse files
committed
Log ezEML username on login
1 parent 40b21c3 commit 7ec94f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webapp/auth/views.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def login():
8787
user = User(session_id)
8888
login_user(user)
8989
initialize_user_data(cname, pasta_token.uid, auth_token)
90-
log_usage(actions['LOGIN'], cname, 'LDAP')
90+
log_usage(actions['LOGIN'], cname, 'LDAP', current_user.get_user_login())
9191
next_page = request.args.get('next')
9292
if not next_page or urlparse(next_page).netloc != '':
9393
current_document = get_active_document()

0 commit comments

Comments
 (0)