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

View file

@ -73,7 +73,7 @@ export default {
// Registers a new user and logs them in. // 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. // 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) { register(ctx, credentials) {
return HTTP.post('user.register', { return HTTP.post('register', {
username: credentials.username, username: credentials.username,
email: credentials.email, email: credentials.email,
password: credentials.password password: credentials.password