Add client validation for registration form
* also extract registration logic to users.js module
This commit is contained in:
parent
02e000b53e
commit
0029313775
6 changed files with 147 additions and 1035 deletions
7
src/mutation_types.js
Normal file
7
src/mutation_types.js
Normal file
|
@ -0,0 +1,7 @@
|
|||
export const SIGN_UP = {
|
||||
SUCCESS: 'SIGN_UP_SUCCESS',
|
||||
FAILURE: 'SIGN_UP_FAILURE',
|
||||
PENDING: 'SIGN_UP_PENDING',
|
||||
isPending: 'sign_up_pending',
|
||||
errors: 'sign_up_errors'
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue