Refactoring
This commit is contained in:
parent
e5358c20d8
commit
4d03d30467
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue