mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-02 11:20:18 +08:00
feat: fix stuck error when no captcha provider found (#808)
This commit is contained in:
@ -257,5 +257,5 @@ func GetCaptchaProviderByApplication(applicationId, isCurrentProvider string) (*
|
||||
return GetCaptchaProviderByOwnerName(fmt.Sprintf("%s/%s", provider.Provider.Owner, provider.Provider.Name))
|
||||
}
|
||||
}
|
||||
return nil, fmt.Errorf("no captcha provider found")
|
||||
return nil, nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user