LoginDemo/views/profile.ejs

12 lines
312 B
Plaintext

<p>
ID: <%= user.id %><br/>
Username: <%= user.username %><br/>
Name: <%= user.displayName %><br/>
GoogleId: <%= user.googleId %><br/>
<% if (user.emails) { %>
Email: <%= user.emails[0].value %><br/>
<% } %>
</p>
<p><a href="/logout"><button>Log out</button></a></p>
<p><a href="/"><button>Home</button></a></p>