mirror of
https://github.com/Forceu/Gokapi.git
synced 2025-12-30 21:39:36 -06:00
Merge pull request #150 from JeroenoBoy/patch-1
Remove trimming from Provider URL
This commit is contained in:
@@ -293,9 +293,6 @@ func parseOAuthSettings(result *models.Configuration, formObjects *[]jsonFormObj
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
if strings.HasSuffix(result.Authentication.OAuthProvider, "/") {
|
||||
result.Authentication.OAuthProvider = strings.TrimRight(result.Authentication.OAuthProvider, "/")
|
||||
}
|
||||
|
||||
result.Authentication.OAuthClientId, err = getFormValueString(formObjects, "oauth_id")
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user