mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-03 04:10:20 +08:00
Rename redirectUrl to redirectUri.
This commit is contained in:
@ -155,8 +155,8 @@ func GetOAuthCode(userId string, clientId string, responseType string, redirectU
|
||||
}
|
||||
|
||||
validUri := false
|
||||
for _, url := range application.RedirectUrls {
|
||||
if strings.Contains(redirectUri, url) {
|
||||
for _, tmpUri := range application.RedirectUris {
|
||||
if strings.Contains(redirectUri, tmpUri) {
|
||||
validUri = true
|
||||
break
|
||||
}
|
||||
|
Reference in New Issue
Block a user