Skip to content
Snippets Groups Projects
Commit b390db27 authored by Ophestra's avatar Ophestra
Browse files

fix auth text

parent 3e075433
No related branches found
No related tags found
No related merge requests found
......@@ -60,7 +60,7 @@
class="fab fa-instagram"></i> Instagram</a></li>
<li><a href="https://discord.gg/aovtr"> <i class="fab fa-discord"></i>
Discord</a>
<li><a href="{{.auth_ref}}"> <i class="fas fa-user"></i> {{.auth_text}} (Click to log out)</a>
<li><a href="{{.auth_ref}}"> <i class="fas fa-user"></i> {{.auth_text}}</a>
</li>
</ul>
</div>
......
......@@ -212,7 +212,7 @@ func getAuthButton(user *discordgo.User) (authText, authRef string) {
authText = "Login"
authRef = "/auth/login"
if user != nil {
authText = user.Username
authText = user.Username + " (Click to log out)"
authRef = "/auth/logout"
}
return
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment