Fix catching InsufficientAccessException when creating new entries
This commit is contained in:
parent
b7ca768cc6
commit
ccff36361f
@ -379,7 +379,7 @@ class HomeController extends Controller
|
|||||||
if ($key['dn']) {
|
if ($key['dn']) {
|
||||||
$o = config('server')->fetch($key['dn']);
|
$o = config('server')->fetch($key['dn']);
|
||||||
|
|
||||||
foreach (collect(old())->except(['key','dn','step','_token','userpassword_hash']) as $attr => $value)
|
foreach (collect(old())->except(['key','dn','step','_token','userpassword_hash','rdn','rdn_value']) as $attr => $value)
|
||||||
$o->{$attr} = $value;
|
$o->{$attr} = $value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -10,6 +10,8 @@
|
|||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@section('main-content')
|
@section('main-content')
|
||||||
|
<x-error/>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="offset-1 col-10">
|
<div class="offset-1 col-10">
|
||||||
<div class="main-card mb-3 card">
|
<div class="main-card mb-3 card">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user