Fixed "Add user" errors

This commit is contained in:
Mark van Renswoude 2018-05-02 12:59:47 +02:00
parent f79c6381b5
commit 92ed107558
3 changed files with 3600 additions and 3592 deletions

7176
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -5,8 +5,8 @@
"main": "index.js",
"scripts": {
"dev": "supervisor -w index.js,lib index.js",
"devbuild": "webpack --mode development",
"build": "webpack --mode production",
"devbuild": "webpack-cli --mode development",
"build": "webpack-cli --mode production",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {

View File

@ -119,8 +119,16 @@ export default {
else
{
self.user = {
expiration: null,
message: null
username: null,
name: null,
password: null,
email: null,
auth: {
viewAllCodes: false,
viewAllUploads: false,
manageUsers: false
},
active: true
};
}
},