Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 99dae70

Browse files
committed
+User Feedback
As we know, when a user registers, an email will be sent to him, so it will be better if we tell the user before redirecting him to the next page. I achieved this resault by a simple Browser alert. Massiles.
1 parent 31ba232 commit 99dae70

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎src/auth/signup/signup.js‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ signupForm.onsubmit = () => {
2323
if (data.status == 200) {
2424

2525
Cookies.set('token', data.json.token);
26+
alert("Email has been sent to you, Please go and view it to validate your email address")
2627
window.location.href = "/dashboard";
2728

2829
} else if (data.status == 403) {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /