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{
|
templatePasswd.Execute(w, PasswdTplData{
|
||||||
|
|
||||||
Common: NestedCommonTplData{
|
Common: NestedCommonTplData{
|
||||||
CanAdmin: login.CanAdmin,
|
CanAdmin: login.Common.CanAdmin,
|
||||||
LoggedIn: true},
|
LoggedIn: true},
|
||||||
})
|
})
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue