diff options
Diffstat (limited to 'internal/db/user_mail.go')
-rw-r--r-- | internal/db/user_mail.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/db/user_mail.go b/internal/db/user_mail.go index 990b4aa1..fc6e1618 100644 --- a/internal/db/user_mail.go +++ b/internal/db/user_mail.go @@ -57,7 +57,7 @@ func GetEmailAddresses(uid int64) ([]*EmailAddress, error) { } func isEmailUsed(e Engine, email string) (bool, error) { - if len(email) == 0 { + if email == "" { return true, nil } |