diff --git a/src/js/yunohost/controllers/users.js b/src/js/yunohost/controllers/users.js index feafa742..c40ecf44 100644 --- a/src/js/yunohost/controllers/users.js +++ b/src/js/yunohost/controllers/users.js @@ -23,7 +23,7 @@ }); // Create user (POST) - app.post('#/users', function (c) { + app.post('#/users/create', function (c) { if (c.params['password'] == c.params['confirmation']) { if (c.params['password'].length < 4) { c.flash('fail', y18n.t('password_too_short')); diff --git a/src/views/user/user_create.ms b/src/views/user/user_create.ms index 07c5be1d..bd3faa57 100644 --- a/src/views/user/user_create.ms +++ b/src/views/user/user_create.ms @@ -7,7 +7,7 @@
-
+