mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
Formating
This commit is contained in:
parent
b385ac7ed3
commit
d53e400e3d
1 changed files with 2 additions and 1 deletions
|
@ -207,7 +207,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
c.params['domain'] = c.params['domain'].slice(1);
|
c.params['domain'] = c.params['domain'].slice(1);
|
||||||
c.params['username']=c.params['username'].trim();
|
c.params['username'] = c.params['username'].trim();
|
||||||
|
|
||||||
c.api('POST', '/users', c.params.toHash(), function(data) {
|
c.api('POST', '/users', c.params.toHash(), function(data) {
|
||||||
c.redirect_to('#/users');
|
c.redirect_to('#/users');
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue