Merge pull request #454 from shaohao/Fix-password-issue
Update FormBuilder.php
This commit is contained in:
commit
23f757e06f
|
@ -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…
Reference in a new issue