Fix in assigning and updating role of domain admin
This commit is contained in:
parent
abea748129
commit
50f16788f9
|
@ -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();
|
$domain->save();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
1
public/js/app.js
vendored
1
public/js/app.js
vendored
|
@ -75404,7 +75404,6 @@ Vue.component('datetime', vue_datetime__WEBPACK_IMPORTED_MODULE_0__["Datetime"])
|
||||||
*
|
*
|
||||||
* ***************/
|
* ***************/
|
||||||
admin_tidy: function admin_tidy(a) {
|
admin_tidy: function admin_tidy(a) {
|
||||||
// tidy_admininfo(a)
|
|
||||||
a.changed = {
|
a.changed = {
|
||||||
role: false
|
role: false
|
||||||
};
|
};
|
||||||
|
|
1
resources/js/app.js
vendored
1
resources/js/app.js
vendored
|
@ -1020,7 +1020,6 @@ Vue.component('datetime',Datetime);
|
||||||
*
|
*
|
||||||
* ***************/
|
* ***************/
|
||||||
admin_tidy: function admin_tidy(a) {
|
admin_tidy: function admin_tidy(a) {
|
||||||
// tidy_admininfo(a)
|
|
||||||
a.changed = {
|
a.changed = {
|
||||||
role: false
|
role: false
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user