summaryrefslogtreecommitdiffstats
path: root/store/sql_user_store.go
diff options
context:
space:
mode:
authorJoramWilander <jwawilander@gmail.com>2015-07-22 12:42:03 -0400
committerJoramWilander <jwawilander@gmail.com>2015-07-22 12:42:03 -0400
commit44cfa364fd3c328523054d8ee2221d6019ad6de1 (patch)
tree877ba6f84c8a07d184b51787e5c11d1bd15d35e6 /store/sql_user_store.go
parent4f0364d87656138d5e262b53373706ff122f3f4c (diff)
downloadchat-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/sql_user_store.go')
-rw-r--r--store/sql_user_store.go1
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