mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-13 21:02:08 +08:00
Username or User's name will be displayed next to logout link when user is authenticated. User's name takes precedence over username aka email
This commit is contained in:
parent
a9cd6e07ac
commit
ca70233443
@ -49,7 +49,7 @@ html
|
||||
a(href='/account')
|
||||
if user.profile.picture
|
||||
img(src='#{user.profile.picture}')
|
||||
| #{user.profile.name}
|
||||
= user.profile.name || user.username
|
||||
li
|
||||
a(href='/logout') Logout
|
||||
.container
|
||||
|
||||
Loading…
Reference in New Issue
Block a user