Fix small typo

This commit is contained in:
Tracker-Friendly 2024-06-21 19:30:06 +01:00
parent 4185a266b8
commit 9390f7a0b2
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@ func main() {
})
router.GET("/account", func(c *gin.Context) {
loggedIn, err := c.Cookie("loggedIn")
loggedIn, err := c.Cookie("loggedin")
if errors.Is(err, http.ErrNoCookie) || loggedIn != "true" {
c.HTML(200, "login.html", gin.H{})
return