1
0
Fork 0
forked from gitea/nas

Merge commit 'bc75e62ca6' into kb_migration

This commit is contained in:
KMY 2023-04-17 23:04:26 +09:00
commit 646e3a6d89
13 changed files with 148 additions and 144 deletions

View file

@ -55,7 +55,7 @@ class AccountFilter
when 'by_domain'
Account.where(domain: value.to_s.strip)
when 'username'
Account.matches_username(value.to_s.strip)
Account.matches_username(value.to_s.strip.delete_prefix('@'))
when 'display_name'
Account.matches_display_name(value.to_s.strip)
when 'email'