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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
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); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|