momentarystates / momentarystates-backend

Backend implementation providing an API
1 stars 0 forks source link

Define url path for register user #7

Open schub opened 4 years ago

schub commented 4 years ago

The backend will generate emails which contain a direct link to the register page.

@cocomo What is the relative url path in the frontend?

cocomo commented 4 years ago

Frontends router uses currently

/confirm/:email/:code

(taken from the API endpoint).

Is it desired to provide the email/code via link?

A more discreet version could provide only the username, but would also require a change in the logic of the API endpoint. Right?

schub commented 4 years ago

I meant a different view. Was talking about the register view. The View where the user can register a new user account.

But nevertheless, the url you proposed is meant for email confirmation which I was about to ask anyway.. So, thanks :) Will use that!

For register I guess it is something like: /register correct?