Fix demo mode default login

This commit is contained in:
Yang Luo
2023-02-18 23:39:32 +08:00
parent edbd3d4018
commit 4806e76cf6
2 changed files with 8 additions and 0 deletions

View File

@ -688,6 +688,11 @@ class App extends Component {
return null;
}
const language = Setting.getLanguage();
if (language === "en" || language === "zh") {
return null;
}
return (
<Alert type="info" banner showIcon={false} closable message={
<div style={{textAlign: "center"}}>