diff options
Diffstat (limited to 'views')
-rw-r--r-- | views/nav.ejs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/views/nav.ejs b/views/nav.ejs index b494b55..8298004 100644 --- a/views/nav.ejs +++ b/views/nav.ejs @@ -2,6 +2,9 @@ <nav> <ul> <li class="nav-menu-title">Jeu de mots</li> + <% if (user !== undefined) { %> + <li class=".nav-menu-margin-left"><a href="/logout">Déconnexion</a></li> + <% } %> </ul> </nav> </header> |