Fixed Change Password Bug
This commit is contained in:
parent
900b75738f
commit
33c621b83b
1 changed files with 2 additions and 2 deletions
4
admin.go
4
admin.go
|
@ -77,7 +77,7 @@ func handleAdminActivateUsers(w http.ResponseWriter, r *http.Request) {
|
||||||
UserBaseDN: config.UserBaseDN,
|
UserBaseDN: config.UserBaseDN,
|
||||||
Users: EntryList(sr.Entries),
|
Users: EntryList(sr.Entries),
|
||||||
CanAdmin: login.CanAdmin,
|
CanAdmin: login.CanAdmin,
|
||||||
LoggedIn: bool,
|
LoggedIn: true,
|
||||||
}
|
}
|
||||||
templateAdminActivateUsers.Execute(w, data)
|
templateAdminActivateUsers.Execute(w, data)
|
||||||
|
|
||||||
|
@ -190,7 +190,7 @@ func handleAdminGroups(w http.ResponseWriter, r *http.Request) {
|
||||||
GroupBaseDN: config.GroupBaseDN,
|
GroupBaseDN: config.GroupBaseDN,
|
||||||
Groups: EntryList(sr.Entries),
|
Groups: EntryList(sr.Entries),
|
||||||
CanAdmin: login.CanAdmin,
|
CanAdmin: login.CanAdmin,
|
||||||
LoogedIn: false,
|
LoggedIn: false,
|
||||||
}
|
}
|
||||||
sort.Sort(data.Groups)
|
sort.Sort(data.Groups)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue