1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-05 01:57:20 +00:00

initial support for LDAP authentication/MSAD

This commit is contained in:
juju2013
2014-04-22 18:55:27 +02:00
committed by juju2013
parent dbdaf934e1
commit efc05ea1de
7 changed files with 216 additions and 8 deletions

View File

@ -125,6 +125,7 @@ func GetUserSalt() string {
// RegisterUser creates record of a new user.
func RegisterUser(user *User) (*User, error) {
if !IsLegalName(user.Name) {
return nil, ErrUserNameIllegal
}