#1124 lower_name of LDAP user not assigned

tokarchuk/v1.17
Unknwon 10 years ago
parent 2bb982dada
commit 484175f702
  1. 1
      models/login.go

@ -242,6 +242,7 @@ func LoginUserLdapSource(u *User, name, passwd string, sourceId int64, cfg *LDAP
} }
u = &User{ u = &User{
LowerName: strings.ToLower(name),
Name: name, Name: name,
FullName: fn + " " + sn, FullName: fn + " " + sn,
LoginType: LDAP, LoginType: LDAP,

Loading…
Cancel
Save