fix: filter of users uniqueness (#2753)

This commit is contained in:
Livio Amstutz
2021-11-29 18:38:11 +01:00
committed by GitHub
parent 7d45ae3c6c
commit d7417b6ef6
7 changed files with 53 additions and 17 deletions

View File

@@ -33,10 +33,6 @@ func (v *View) UserIDsByDomain(domain string) ([]string, error) {
return view.UserIDsByDomain(v.Db, userTable, domain)
}
func (v *View) IsUserUnique(userName, email string) (bool, error) {
return view.IsUserUnique(v.Db, userTable, userName, email)
}
func (v *View) UserMFAs(userID string) ([]*usr_model.MultiFactor, error) {
return view.UserMFAs(v.Db, userTable, userID)
}