diff --git a/src/store/modules/auth.js b/src/store/modules/auth.js index 25d1b720..d991c153 100644 --- a/src/store/modules/auth.js +++ b/src/store/modules/auth.js @@ -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