From 5283f006f591e915dcb0262d5af91b6e6152b1dc Mon Sep 17 00:00:00 2001 From: kolaente Date: Sun, 21 Jun 2020 20:54:57 +0200 Subject: [PATCH] Fix register --- src/store/modules/auth.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/modules/auth.js b/src/store/modules/auth.js index 25d1b720a6..d991c15353 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