admin: Fix incorrect variable name in context
This commit is contained in:
parent
e5554a1bea
commit
2e6dc95dc9
|
@ -84,7 +84,7 @@ func authHandler(c *gin.Context) {
|
|||
}
|
||||
}
|
||||
|
||||
c.Set("user", user)
|
||||
c.Set("authuser", user)
|
||||
|
||||
c.Next()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue