Register: Invoke store "user" action register. Fake an async action, update dialog to show confirmation message
Please check your email to confirm your account
Activation: New route to home page /activate/xxx-xxx-xxx-xx where xxx-xxx-xxx-xx is an activation code. Fake store useraction register with same behavior as login for code xxx-xxx-xxx-ok and show error message for xxx-xxx-xxx-ko
Invalid activation code
User logged:
Update MainLayoutaccordingly
Notes:
Use store for login/register actions and change state to loged user
Use i18n
This issue will be paid by sponsors
Please post a comment below if you want to be assigned to this issue
Help wanted payable
Please read how to collaborate before Let's talk
Issue
Implemente login/register dialogs
Expected bahavior
From home page Login / Register section invoke dialogs
Add new module to store
user
Login: Invoke store "user" action login. Fake an async action returning user object and update state
Register: Invoke store "user" action register. Fake an async action, update dialog to show confirmation message
Activation: New route to home page
/activate/xxx-xxx-xxx-xx
wherexxx-xxx-xxx-xx
is an activation code. Fake storeuser
action register with same behavior aslogin
for codexxx-xxx-xxx-ok
and show error message forxxx-xxx-xxx-ko
User logged:
Update
MainLayout
accordinglyNotes: