Display ObjectID in Navbar if no user's name is provided for oauth users
This commit is contained in:
@ -50,7 +50,7 @@ html
|
|||||||
a(href='/account')
|
a(href='/account')
|
||||||
if user.profile.picture
|
if user.profile.picture
|
||||||
img(src='#{user.profile.picture}')
|
img(src='#{user.profile.picture}')
|
||||||
= user.profile.name || user.username
|
= user.profile.name || user.username || user.id
|
||||||
li
|
li
|
||||||
a(href='/logout') Logout
|
a(href='/logout') Logout
|
||||||
.container
|
.container
|
||||||
|
Reference in New Issue
Block a user