mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-04-19 04:00:56 -04: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user