diff options
author | Christopher Speller <crspeller@gmail.com> | 2016-03-31 08:59:08 -0400 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2016-03-31 08:59:08 -0400 |
commit | c8b2af62468c5d0906ba08d3e2a378681f99eb08 (patch) | |
tree | 1695062090143e1287c41b0eec2dcf085a5acbe5 /store/sql_user_store.go | |
parent | 43aa7e4c792b5ee2cbda4c853eeed4fadb8a93b3 (diff) | |
download | chat-c8b2af62468c5d0906ba08d3e2a378681f99eb08.tar.gz chat-c8b2af62468c5d0906ba08d3e2a378681f99eb08.tar.bz2 chat-c8b2af62468c5d0906ba08d3e2a378681f99eb08.zip |
Fix login
Diffstat (limited to 'store/sql_user_store.go')
-rw-r--r-- | store/sql_user_store.go | 2 |
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 } |