Refactoring
This commit is contained in:
parent
4d03d30467
commit
2a9c186c9a
1 changed files with 2 additions and 1 deletions
|
@ -19,7 +19,8 @@ func handleProfile(w http.ResponseWriter, r *http.Request) {
|
||||||
templatePasswd.Execute(w, PasswdTplData{
|
templatePasswd.Execute(w, PasswdTplData{
|
||||||
|
|
||||||
Common: NestedCommonTplData{
|
Common: NestedCommonTplData{
|
||||||
CanAdmin: login.Common.CanAdmin,
|
// CanAdmin: login.Common.CanAdmin,
|
||||||
|
CanAdmin: false,
|
||||||
LoggedIn: true},
|
LoggedIn: true},
|
||||||
})
|
})
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue