feat: add IsDemoMode for frontend (#1555)

* feat: add `IsDemoMode` for frontend

* fix: add i18n

* fix: support autologin and go same page

* fix: use i18n for button text
This commit is contained in:
imp2002
2023-02-16 20:36:30 +08:00
committed by GitHub
parent e877045671
commit 14fa914e6f
12 changed files with 82 additions and 1 deletions

View File

@ -14,6 +14,7 @@
export const ShowGithubCorner = false;
export const GithubRepo = "https://github.com/casdoor/casdoor";
export const IsDemoMode = false;
export const ForceLanguage = "";
export const DefaultLanguage = "en";