更新 'src/Http/Auth/Permission.php'
parent
8040f128f1
commit
6998832612
|
|
@ -93,7 +93,7 @@ class Permission
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Helper::isAjaxRequest()) {
|
if (Helper::isAjaxRequest()) {
|
||||||
abort(403, trans('admin.deny'));
|
abort(403, trans('admin.deny') . ':' . $ability);
|
||||||
}
|
}
|
||||||
|
|
||||||
admin_exit(
|
admin_exit(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue