diff --git a/view-user.go b/view-user.go index 0537b2a..85f5bc4 100644 --- a/view-user.go +++ b/view-user.go @@ -19,7 +19,8 @@ func handleProfile(w http.ResponseWriter, r *http.Request) { templatePasswd.Execute(w, PasswdTplData{ Common: NestedCommonTplData{ - CanAdmin: login.Common.CanAdmin, + // CanAdmin: login.Common.CanAdmin, + CanAdmin: false, LoggedIn: true}, }) return