Fixed Change Password Bug
This commit is contained in:
parent
84c46149f6
commit
fa22a9eb37
1 changed files with 1 additions and 1 deletions
2
home.go
2
home.go
|
@ -28,7 +28,7 @@ func handleHome(w http.ResponseWriter, r *http.Request) {
|
||||||
|
|
||||||
can_admin := false
|
can_admin := false
|
||||||
if login != nil {
|
if login != nil {
|
||||||
can_admin = login.CanAdmin
|
http.Redirect(w, r, "/", http.StatusTemporaryRedirect)
|
||||||
}
|
}
|
||||||
|
|
||||||
data := HomePageData{
|
data := HomePageData{
|
||||||
|
|
Loading…
Reference in a new issue