Fix register
This commit is contained in:
parent
5cbc0f08fe
commit
5283f006f5
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ export default {
|
|||
// Registers a new user and logs them in.
|
||||
// Not sure if this is the right place to put the logic in, maybe a seperate js component would be better suited.
|
||||
register(ctx, credentials) {
|
||||
return HTTP.post('user.register', {
|
||||
return HTTP.post('register', {
|
||||
username: credentials.username,
|
||||
email: credentials.email,
|
||||
password: credentials.password
|
||||
|
|
Loading…
Reference in a new issue