mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-17 23:42:52 +00:00
fix: check for webauthn in 2fa user search
- Check for webauthn credentials in the user search when the two factor filter is enabled. - Resolves forgejo/forgejo#6524
This commit is contained in:
parent
fd285bfc4e
commit
83311c694c
2 changed files with 5 additions and 7 deletions
|
@ -222,7 +222,7 @@ func TestSearchUsers(t *testing.T) {
|
|||
[]int64{1041, 37})
|
||||
|
||||
testUserSuccess(&user_model.SearchUserOptions{ListOptions: db.ListOptions{Page: 1}, IsTwoFactorEnabled: optional.Some(true)},
|
||||
[]int64{24})
|
||||
[]int64{24, 32})
|
||||
}
|
||||
|
||||
func TestEmailNotificationPreferences(t *testing.T) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue