Skip to content

Commit ccff363

Browse files
committed
Fix catching InsufficientAccessException when creating new entries
1 parent b7ca768 commit ccff363

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

app/Http/Controllers/HomeController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ public function frame(Request $request,?Collection $old=NULL): \Illuminate\View\
379379
if ($key['dn']) {
380380
$o = config('server')->fetch($key['dn']);
381381

382-
foreach (collect(old())->except(['key','dn','step','_token','userpassword_hash']) as $attr => $value)
382+
foreach (collect(old())->except(['key','dn','step','_token','userpassword_hash','rdn','rdn_value']) as $attr => $value)
383383
$o->{$attr} = $value;
384384
}
385385

resources/views/frames/create.blade.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
@endsection
1111

1212
@section('main-content')
13+
<x-error/>
14+
1315
<div class="row">
1416
<div class="offset-1 col-10">
1517
<div class="main-card mb-3 card">

0 commit comments

Comments
 (0)