Skip to content

Commit

Permalink
add change password link
Browse files Browse the repository at this point in the history
  • Loading branch information
lillian committed Jan 17, 2024
1 parent ee96b61 commit 0899872
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/web/ui/shell.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@
</li>
{{ end }}
{{ if IsMemberLoggedIn .Ctx.AuthLevel }}
<li>
<a href="/passwd/" class="block py-2 px-3 text-gray-900 rounded hover:bg-gray-100 md:hover:bg-transparent md:border-0 md:hover:text-blue-700 md:p-0 dark:text-white md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent">Change Password</a>
</li>
<li>
<a href="/logout/" class="block py-2 px-3 text-gray-900 rounded hover:bg-gray-100 md:hover:bg-transparent md:border-0 md:hover:text-blue-700 md:p-0 dark:text-white md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent">Log Out</a>
</li>
Expand Down

0 comments on commit 0899872

Please sign in to comment.