Browse Source

Update FormBuilder.php

Make she the value is passed to password input.
shaohao/Fix-password-issue
Shao Hao 5 years ago
committed by GitHub
parent
commit
e857023903
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      vendor/laravelcollective/html/src/FormBuilder.php

4
vendor/laravelcollective/html/src/FormBuilder.php

@ -331,9 +331,9 @@ class FormBuilder
* *
* @return \Illuminate\Support\HtmlString * @return \Illuminate\Support\HtmlString
*/ */
public function password($name, $options = []) public function password($name, $value = null, $options = [])
{ {
return $this->input('password', $name, '', $options); return $this->input('password', $name, $value, $options);
} }
/** /**

Loading…
Cancel
Save