Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sign-in page broken with unexpected language #1082

Open
nighca opened this issue Nov 11, 2024 · 0 comments
Open

Sign-in page broken with unexpected language #1082

nighca opened this issue Nov 11, 2024 · 0 comments

Comments

@nighca
Copy link
Collaborator

nighca commented Nov 11, 2024

https://github.com/goplus/casdoor/blob/d3848023552473402ccb30a94a3515d078bba89a/web/src/common/select/LanguageSelect.js#L56

If Setting.getLanguage() returns some language other than zh or en, the whole page breaks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant