Fix register

This commit is contained in:
kolaente 2020-06-21 20:54:57 +02:00
parent 5cbc0f08fe
commit 5283f006f5
No known key found for this signature in database
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 1 deletions

View File

@ -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