Skip to content

Commit a2cb4fc

Browse files
committed
fix: bug
--bug=1051986 --user=王孝刚 【登录】登录页面选择 OAuth2 方式,没有反应 https://www.tapd.cn/57709429/s/1650890
1 parent 194cce2 commit a2cb4fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/views/login/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ function redirectAuth(authType: string) {
179179
if (authType === 'OIDC') {
180180
url = `${config.authEndpoint}?client_id=${config.clientId}&redirect_uri=${redirectUrl}&response_type=code&scope=openid+profile+email`
181181
}
182-
if (authType === 'OAUTH2') {
182+
if (authType === 'OAuth2') {
183183
url =
184184
`${config.authEndpoint}?client_id=${config.clientId}&response_type=code` +
185185
`&redirect_uri=${redirectUrl}&state=${res.data.id}`

0 commit comments

Comments
 (0)