diff --git a/ui/src/components/InstallPage.tsx b/ui/src/components/InstallPage.tsx index 65840b96e..a30aa14c2 100644 --- a/ui/src/components/InstallPage.tsx +++ b/ui/src/components/InstallPage.tsx @@ -33,7 +33,6 @@ export const InstallPage: React.FC = ({onFirstLogin}) => { setIsLoading(true); await api.register(adminUsername, password); if (!await api.isAuthenticationNeeded()) { - toast.success("admin user created successfully"); setPage(Page.Traffic); onFirstLogin(); } diff --git a/ui/src/components/LoginPage.tsx b/ui/src/components/LoginPage.tsx index ae741d23c..d6bfdb6b3 100644 --- a/ui/src/components/LoginPage.tsx +++ b/ui/src/components/LoginPage.tsx @@ -22,7 +22,6 @@ const LoginPage: React.FC = () => { try { await api.login(username, password); if (!await api.isAuthenticationNeeded()) { - toast.success("Logged in successfully"); setPage(Page.Traffic); } else { toast.error("Invalid credentials");