Fix/web app signin error (#18765)

This commit is contained in:
NFish 2025-04-25 15:34:18 +08:00 committed by GitHub
parent d40f2e7d94
commit ede0deb447
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 1 deletions

View File

@ -176,6 +176,11 @@ const translation = {
openInExplore: '在“探索”中打开',
showMyCreatedAppsOnly: '我创建的',
accessControl: 'Web 应用访问控制',
accessItemsDescription: {
anyone: '任何人可以访问 web 应用',
specific: '特定组或成员可以访问 web 应用',
organization: '组织内任何人可以访问 web 应用',
},
accessControlDialog: {
title: 'Web 应用访问权限',
description: '设置 web 应用访问权限。',

View File

@ -127,7 +127,7 @@ function requiredWebSSOLogin(message?: string) {
params.append('redirect_url', globalThis.location.pathname)
if (message)
params.append('message', message)
globalThis.location.href = `/webapp-signin?${params.toString()}}`
globalThis.location.href = `/webapp-signin?${params.toString()}`
}
function getAccessToken(isPublicAPI?: boolean) {