Rename redirectUrl to redirectUri.

This commit is contained in:
Yang Luo
2021-03-15 00:01:21 +08:00
parent df948e9e34
commit 4e22e0523d
7 changed files with 13 additions and 13 deletions

View File

@ -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
}