mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-16 19:05:55 +08:00
Fix/web app signin error (#18765)
This commit is contained in:
parent
d40f2e7d94
commit
ede0deb447
@ -176,6 +176,11 @@ const translation = {
|
||||
openInExplore: '在“探索”中打开',
|
||||
showMyCreatedAppsOnly: '我创建的',
|
||||
accessControl: 'Web 应用访问控制',
|
||||
accessItemsDescription: {
|
||||
anyone: '任何人可以访问 web 应用',
|
||||
specific: '特定组或成员可以访问 web 应用',
|
||||
organization: '组织内任何人可以访问 web 应用',
|
||||
},
|
||||
accessControlDialog: {
|
||||
title: 'Web 应用访问权限',
|
||||
description: '设置 web 应用访问权限。',
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user