Fix in assigning and updating role of domain admin

This commit is contained in:
pmkuipers 2020-05-23 22:56:55 +02:00
parent abea748129
commit 50f16788f9
4 changed files with 3 additions and 5 deletions

View File

@ -179,7 +179,7 @@ class VMailController extends Controller
}
}
$domain->users()->attach($validatedData['userid'],['role' => $validatedData['userid']]);
$domain->users()->attach($validatedData['userid'],['role' => $validatedData['role']]);
$domain->save();
return true;

1
public/js/app.js vendored
View File

@ -75404,7 +75404,6 @@ Vue.component('datetime', vue_datetime__WEBPACK_IMPORTED_MODULE_0__["Datetime"])
*
* ***************/
admin_tidy: function admin_tidy(a) {
// tidy_admininfo(a)
a.changed = {
role: false
};

1
resources/js/app.js vendored
View File

@ -1020,7 +1020,6 @@ Vue.component('datetime',Datetime);
*
* ***************/
admin_tidy: function admin_tidy(a) {
// tidy_admininfo(a)
a.changed = {
role: false
};