0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-22 13:34:22 +01:00

#1124 lower_name of LDAP user not assigned

This commit is contained in:
Unknwon 2015-03-23 10:51:43 -04:00
parent 2bb982dada
commit 484175f702

View file

@ -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,