Skip to content

Commit 1562cb5

Browse files
committed
Fixing issue with Username not showing
1 parent 86e66ac commit 1562cb5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

conditional/blueprints/attendance.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def display_attendance_cm(user_dict=None):
137137
log.info('Display Committee Meeting Attendance Page')
138138

139139
return render_template('attendance_cm.html',
140-
username=request.headers.get("x-webauth-user"),
140+
username=user_dict['username'],
141141
date=datetime.now().strftime("%Y-%m-%d"))
142142

143143

@@ -149,7 +149,7 @@ def display_attendance_ts(user_dict=None):
149149
log.info('Display Technical Seminar Attendance Page')
150150

151151
return render_template('attendance_ts.html',
152-
username=request.headers.get("x-webauth-user"),
152+
username=user_dict['username'],
153153
date=datetime.now().strftime("%Y-%m-%d"))
154154

155155

0 commit comments

Comments
 (0)