From 9a82d5d3c5a3f06983f5d7f6391932cf439e44a9 Mon Sep 17 00:00:00 2001 From: Christopher Speller Date: Wed, 30 Mar 2016 15:04:51 -0400 Subject: [PATCH] Fix for ldap ability to change email --- model/user.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/user.go b/model/user.go index f8f2fdb708..7622e48f0f 100644 --- a/model/user.go +++ b/model/user.go @@ -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