mirror of
https://github.com/Alvin-Zilverstand/nginx-proxy-manager.git
synced 2026-11-22 22:23:21 +01:00
Add / edit Users
This commit is contained in:
1 parent
bfc319cff9
commit
446921111e
2 files changed
+10
-15
No files matched your search
@@ -39,6 +39,8 @@ const internalUser = {
|
||||
.insertAndFetch(data);
|
||||
})
|
||||
.then(user => {
|
||||
return internalUser.get(access, {id: user.id});
|
||||
/*
|
||||
return authModel
|
||||
.query()
|
||||
.insert({
|
||||
@@ -48,8 +50,9 @@ const internalUser = {
|
||||
meta: {}
|
||||
})
|
||||
.then(() => {
|
||||
return internalUser.get(access, {id: user.id, expand: ['services']});
|
||||
return internalUser.get(access, {id: user.id});
|
||||
});
|
||||
*/
|
||||
});
|
||||
},
|
||||
|
||||
@@ -110,7 +113,7 @@ const internalUser = {
|
||||
});
|
||||
})
|
||||
.then(() => {
|
||||
return internalUser.get(access, {id: data.id, expand: ['services']});
|
||||
return internalUser.get(access, {id: data.id});
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
Reference in new issue
Block a user