Skip to content

Commit 435c8a4

Browse files
committed
feat: enhance success notifications for magic link login process
1 parent 8855511 commit 435c8a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web/src/modules/auth/components/client/LoginFrom.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,12 @@ export const LoginForm: FC = () => {
4343

4444
console.log(response.data);
4545

46-
toast.success('An email has been sent to you with a login link.', {
46+
toast.success(`A magic link has been sent to ${email}!`, {
4747
position: 'top-center',
4848
duration: 20_000, // 20 seconds
4949
});
5050

51-
toast.success('Please check your inbox and follow the instructions.', {
51+
toast.success('It will stay valid for one hour!', {
5252
position: 'top-center',
5353
duration: 20_000, // 20 seconds
5454
});

0 commit comments

Comments
 (0)