Merge pull request #454 from shaohao/Fix-password-issue
Update FormBuilder.php
This commit is contained in:
commit
23f757e06f
1 changed files with 2 additions and 2 deletions
|
@ -331,9 +331,9 @@ class FormBuilder
|
|||
*
|
||||
* @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…
Add table
Reference in a new issue