Fix exception 500 being raised 'Argument #1 () must be of type array' when creating new entries with a userPassword. Fixes #320
This commit is contained in:
parent
54f27d3d16
commit
3493504720
@ -114,7 +114,7 @@ class HomeController extends Controller
|
||||
$o = new Entry;
|
||||
$o->setDn($dn);
|
||||
|
||||
foreach ($request->except(['_token','key','step','rdn','rdn_value']) as $key => $value)
|
||||
foreach ($request->except(['_token','key','step','rdn','rdn_value','userpassword_hash']) as $key => $value)
|
||||
$o->{$key} = array_filter($value);
|
||||
|
||||
try {
|
||||
|
Loading…
x
Reference in New Issue
Block a user