Fix for ldap ability to change email

Этот коммит содержится в:
Christopher Speller
2016-03-30 15:04:51 -04:00
родитель 74d2c5b6ce
Коммит 9a82d5d3c5

Просмотреть файл

@@ -352,7 +352,7 @@ func IsInRole(userRoles string, inRole string) bool {
}
func (u *User) IsSSOUser() bool {
if len(u.AuthData) != 0 && len(u.AuthService) != 0 {
if len(u.AuthData) != 0 && len(u.AuthService) != 0 && u.AuthService != USER_AUTH_SERVICE_LDAP {
return true
}
return false