added error case for login and removed authdata + authservice unique constraint in users table

Этот коммит содержится в:
JoramWilander
2015-07-22 12:42:03 -04:00
родитель 4f0364d876
Коммит 44cfa364fd
2 изменённых файлов: 23 добавлений и 10 удалений

Просмотреть файл

@@ -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