show toast message when updating auth page domain

This commit is contained in:
Fred KISSIE
2025-11-15 04:03:21 +01:00
parent 4842648e7b
commit 854f638da3
2 changed files with 6 additions and 1 deletions

View File

@@ -1833,7 +1833,7 @@
"securityPolicyChangeWarningText": "This will affect all users in the organization",
"authPageErrorUpdateMessage": "An error occurred while updating the auth page settings",
"authPageErrorUpdate": "Unable to update auth page",
"authPageUpdated": "Auth page updated successfully",
"authPageDomainUpdated": "Auth page Domain updated successfully",
"healthCheckNotAvailable": "Local",
"rewritePath": "Rewrite Path",
"rewritePathDescription": "Optionally rewrite the path before forwarding to the target.",

View File

@@ -272,6 +272,11 @@ function AuthPageSettings({
setHasUnsavedChanges(false);
router.refresh();
onSaveSuccess?.();
toast({
variant: "default",
title: t("success"),
description: t("authPageDomainUpdated")
});
} catch (e) {
toast({
variant: "destructive",