feat: General bug fixes, added server stat commands, improved split screen, link accounts, etc
This commit is contained in:
@@ -555,7 +555,11 @@ export function Auth({
|
||||
const error = urlParams.get("error");
|
||||
|
||||
if (error) {
|
||||
toast.error(`${t("errors.oidcAuthFailed")}: ${error}`);
|
||||
if (error === "registration_disabled") {
|
||||
toast.error(t("messages.registrationDisabled"));
|
||||
} else {
|
||||
toast.error(`${t("errors.oidcAuthFailed")}: ${error}`);
|
||||
}
|
||||
setOidcLoading(false);
|
||||
window.history.replaceState({}, document.title, window.location.pathname);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user