feat: General bug fixes, added server stat commands, improved split screen, link accounts, etc

This commit is contained in:
LukeGus
2025-11-12 00:58:02 -06:00
parent 26b71c0b69
commit 8028e5d7cb
34 changed files with 1724 additions and 588 deletions

View File

@@ -495,7 +495,12 @@ export function Auth({
const error = urlParams.get("error");
if (error) {
const errorMessage = `${t("errors.oidcAuthFailed")}: ${error}`;
let errorMessage: string;
if (error === "registration_disabled") {
errorMessage = t("messages.registrationDisabled");
} else {
errorMessage = `${t("errors.oidcAuthFailed")}: ${error}`;
}
setError(errorMessage);
setOidcLoading(false);
window.history.replaceState({}, document.title, window.location.pathname);