Implementing Activate User
This commit is contained in:
parent
516365c6a2
commit
104f1be63f
1 changed files with 1 additions and 1 deletions
2
login.go
2
login.go
|
@ -213,7 +213,7 @@ func handleLogin(w http.ResponseWriter, r *http.Request) *LoginInfo {
|
||||||
if strings.EqualFold(username, config.AdminAccount) {
|
if strings.EqualFold(username, config.AdminAccount) {
|
||||||
user_dn = username
|
user_dn = username
|
||||||
}
|
}
|
||||||
err, loginInfo := doLogin(w, r, username, user_dn, password)
|
loginInfo, err := doLogin(w, r, username, user_dn, password)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
data := &LoginFormData{
|
data := &LoginFormData{
|
||||||
Username: username,
|
Username: username,
|
||||||
|
|
Loading…
Reference in a new issue