Skip to content
This repository was archived by the owner on Jun 7, 2023. It is now read-only.

Commit 1cc473e

Browse files
committed
user menu should show the username not the email. Fixes RunestoneInteractive/RunestoneServer#620
1 parent 058c8b8 commit 1cc473e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runestone/common/js/bookfuncs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ function gotUser(data, status, whatever) {
9292
}
9393
} else {
9494
if (!caughtErr) {
95-
mess = d.email;
95+
mess = "username: " + d.nick;
9696
eBookConfig.email = d.email;
9797
eBookConfig.isLoggedIn = true;
9898
eBookConfig.cohortId = d.cohortId;

0 commit comments

Comments
 (0)