mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-06 18:56:39 +00:00
✨show toast message when updating auth page domain
This commit is contained in:
@@ -1833,7 +1833,7 @@
|
|||||||
"securityPolicyChangeWarningText": "This will affect all users in the organization",
|
"securityPolicyChangeWarningText": "This will affect all users in the organization",
|
||||||
"authPageErrorUpdateMessage": "An error occurred while updating the auth page settings",
|
"authPageErrorUpdateMessage": "An error occurred while updating the auth page settings",
|
||||||
"authPageErrorUpdate": "Unable to update auth page",
|
"authPageErrorUpdate": "Unable to update auth page",
|
||||||
"authPageUpdated": "Auth page updated successfully",
|
"authPageDomainUpdated": "Auth page Domain updated successfully",
|
||||||
"healthCheckNotAvailable": "Local",
|
"healthCheckNotAvailable": "Local",
|
||||||
"rewritePath": "Rewrite Path",
|
"rewritePath": "Rewrite Path",
|
||||||
"rewritePathDescription": "Optionally rewrite the path before forwarding to the target.",
|
"rewritePathDescription": "Optionally rewrite the path before forwarding to the target.",
|
||||||
|
|||||||
@@ -272,6 +272,11 @@ function AuthPageSettings({
|
|||||||
setHasUnsavedChanges(false);
|
setHasUnsavedChanges(false);
|
||||||
router.refresh();
|
router.refresh();
|
||||||
onSaveSuccess?.();
|
onSaveSuccess?.();
|
||||||
|
toast({
|
||||||
|
variant: "default",
|
||||||
|
title: t("success"),
|
||||||
|
description: t("authPageDomainUpdated")
|
||||||
|
});
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
toast({
|
toast({
|
||||||
variant: "destructive",
|
variant: "destructive",
|
||||||
|
|||||||
Reference in New Issue
Block a user