Fixed "Add user" errors
This commit is contained in:
parent
f79c6381b5
commit
92ed107558
File diff suppressed because it is too large
Load Diff
|
@ -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": {
|
||||
|
|
|
@ -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
|
||||
};
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue