Dance&Dancer_Match_2)2020_05_30

오범준·2020년 6월 5일
0

To Dos

1.Registration : email account activation

Problem 1

1) add receipient ( sending > overview )

2) go to email and check the mail

3) activate account

Solution: go to the email address and check the activation mail, After this, you will be able to make usage of test version of mailgun

Problem 2


I have to get token from url, and decode it and save user data into DB

situation is, even if I go into this link, through url in mail, this page is not receiving token info.

That is, I have to get params from the link

Solution : Getting param from the link " /:token"

Additional problem is that, even if I get the params, from the "GET" Method, I have to send it to "POST" Method.....

It is complicated, So Other Solution is

GETTING URL BY JAVASCRIPT AND SEND IT TO POST
"getting current url of page in JS"

https://88240.tistory.com/36

There are Several Checklist you have to look upon
1) insert all the value to the token when you make the token : It can prevent Validation Error

2) send by proper form in html

Problem 3




That, is Several Code is responding simultaneously... even if I gave the conditions on it

Solution

I was requesting post twice, first by "form tag", and second by "js"

So I changed "form" tag to "div" tag, and request only once

2.Password Check

Problem 1

"res.status is not a function"

Solution : I checked the very 1st file


as you see the place of "req" and "res" is changed

profile
Dream of being "물빵개" ( Go abroad for Dance and Programming)

0개의 댓글