mirror of
https://codeberg.org/forgejo/forgejo
synced 2024-11-22 01:44:24 +01:00
Init var
This commit is contained in:
parent
8f131f37e8
commit
e2f0bcef18
|
@ -511,7 +511,7 @@ func IsEmailDomainAllowedInternal(
|
|||
isFederation bool,
|
||||
fqdn string,
|
||||
) bool {
|
||||
result := false
|
||||
var result bool
|
||||
|
||||
if len(emailDomainAllowList) == 0 {
|
||||
result = !validation.IsEmailDomainListed(emailDomainBlockList, email)
|
||||
|
|
Loading…
Reference in a new issue