summaryrefslogtreecommitdiffstats
path: root/store/sql_user_store.go
diff options
context:
space:
mode:
Diffstat (limited to 'store/sql_user_store.go')
-rw-r--r--store/sql_user_store.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/store/sql_user_store.go b/store/sql_user_store.go
index 33d1887ad..957921b9e 100644
--- a/store/sql_user_store.go
+++ b/store/sql_user_store.go
@@ -155,7 +155,7 @@ func (us SqlUserStore) Update(user *model.User, allowActiveUpdate bool) StoreCha
if user.IsSSOUser() {
user.Email = oldUser.Email
- } else if user.Email != oldUser.Email {
+ } else if !user.IsLDAPUser() && user.Email != oldUser.Email {
user.EmailVerified = false
}