Refactoring

This commit is contained in:
Chris Mann 2023-07-26 08:49:30 +02:00
parent e5358c20d8
commit 4d03d30467

View file

@ -19,7 +19,7 @@ func handleProfile(w http.ResponseWriter, r *http.Request) {
templatePasswd.Execute(w, PasswdTplData{
Common: NestedCommonTplData{
CanAdmin: login.CanAdmin,
CanAdmin: login.Common.CanAdmin,
LoggedIn: true},
})
return