Skip to content

Commit

Permalink
Merge pull request #73 from rogershi-dev/feature/registration-auth
Browse files Browse the repository at this point in the history
Updated index.pug
  • Loading branch information
rogershi-dev authored Jul 12, 2024
2 parents e2f6daf + 0b2b517 commit b5b41d4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/views/index.pug
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ block content

if error == 'logoutError'
.alert.alert-danger(role='alert') There was an error logging you out. Please try again.
if userInfo
if userInfo && userInfo.length > 0
p Welcome our GitHub guest: #{userInfo[0].github_username}
//- Logout Button
a.btn.btn-danger(href='/users/logout') Log Out

0 comments on commit b5b41d4

Please sign in to comment.