laravel password confirm doesn't work
<p>I made sign up form, but there some are problems with passwords. i enter exactly the same passwords in password field and confirm password field but it fails</p>

<pre><code>The password confirmation confirmation does not match.
</code></pre>

<p>my sign up form</p>

<pre><code>&lt;div class="form-group"&gt;
   {!! Form::password('password', ['class' =&gt; 'form-control','placeholder' =&gt; '*Password']) !!}
&lt;/div&gt;
&lt;div class="form-group"&gt;
   {!! Form::password('password_confirmation', ['class' =&gt; 'form-control', 'placeholder' =&gt; '*Password Confirm']) !!}
&lt;/div&gt;
</code></pre>

<p>my validations</p>

<pre><code>'password' =&gt; 'required|between:8,255',
'password_confirmation' =&gt; 'confirmed',
</code></pre>

<p>i also try this</p>

<pre><code>'password' =&gt; 'required|between:8,255',
'password_confirmation' =&gt; 'required|between:8,255|confirmed',
</code></pre>

<p>and this</p>

<pre><code>'password' =&gt; 'required|between:8,255|confirmed',
 'password_confirmation' =&gt; 'required|between:8,255|confirmed',
</code></pre>

<p>but still doesn't work</p>