Fixed build error after merge

- Fixed buid error in new merge for Oauth2
- Updated version no.
- Optimized css in sso page
This commit is contained in:
Toby Chui
2025-06-07 12:20:09 +08:00
parent f0fa71c5b4
commit 0e74ff69c3
4 changed files with 6 additions and 4 deletions

View File

@@ -587,7 +587,7 @@ func ReverseProxyHandleEditEndpoint(w http.ResponseWriter, r *http.Request) {
} else if authProviderType == 2 {
newProxyEndpoint.AuthenticationProvider.AuthMethod = dynamicproxy.AuthMethodForward
} else if authProviderType == 3 {
newProxyEndpoint.AuthenticationProvider.AuthMethod = dynamicproxy.AuthMethodOAuth2
newProxyEndpoint.AuthenticationProvider.AuthMethod = dynamicproxy.AuthMethodOauth2
} else {
newProxyEndpoint.AuthenticationProvider.AuthMethod = dynamicproxy.AuthMethodNone
}