Refactoring

This commit is contained in:
Chris Mann 2023-07-26 08:50:33 +02:00
parent 4d03d30467
commit 2a9c186c9a

View file

@ -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