diff options
author | JoramWilander <jwawilander@gmail.com> | 2015-07-22 12:42:03 -0400 |
---|---|---|
committer | JoramWilander <jwawilander@gmail.com> | 2015-07-22 12:42:03 -0400 |
commit | 44cfa364fd3c328523054d8ee2221d6019ad6de1 (patch) | |
tree | 877ba6f84c8a07d184b51787e5c11d1bd15d35e6 /store | |
parent | 4f0364d87656138d5e262b53373706ff122f3f4c (diff) | |
download | chat-44cfa364fd3c328523054d8ee2221d6019ad6de1.tar.gz chat-44cfa364fd3c328523054d8ee2221d6019ad6de1.tar.bz2 chat-44cfa364fd3c328523054d8ee2221d6019ad6de1.zip |
added error case for login and removed authdata + authservice unique constraint in users table
Diffstat (limited to 'store')
-rw-r--r-- | store/sql_user_store.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/store/sql_user_store.go b/store/sql_user_store.go index 3c25dbb44..fdc101b22 100644 --- a/store/sql_user_store.go +++ b/store/sql_user_store.go @@ -34,7 +34,6 @@ func NewSqlUserStore(sqlStore *SqlStore) UserStore { table.ColMap("AuthService").SetMaxSize(32) table.SetUniqueTogether("Email", "TeamId") table.SetUniqueTogether("Username", "TeamId") - table.SetUniqueTogether("AuthData", "AuthService", "TeamId") } return us |