Added LDAP route

This commit is contained in:
BetaPictoris
2023-08-05 16:43:03 -07:00
parent c5b35a6ff1
commit ae9f95aa75
2 changed files with 10 additions and 0 deletions

No files matched your search

+9
View File
@@ -157,6 +157,15 @@ func (c *Controller) ServeUnlinkListenBrainzDo(r *http.Request) *Response {
return &Response{redirect: "/admin/home"}
}
func (c *Controller) ServeLDAPConfig(r *http.Request) *Response {
data := &templateData{}
return &Response{
template: "ldap.tmpl",
data: data,
}
}
func (c *Controller) ServeChangeUsername(r *http.Request) *Response {
user, err := selectedUserIfAdmin(c, r)
if err != nil {