how to set old password in update form in laravel 4 -
I entered that entry into the entry database by using the user form in that form when all the user entered the login but I got a problem The face is that when the user goes to update his details then the user can not change his password at that time, then the password value is set to the value of the value and put in the database, then my question is How to Set User old password Sward field I my code under my update makes the password field
& lt; Div class = "form-group" & gt; {{Farm :: Labels ('Password', 'Password:', array ('Class' => 'Call-MD-2 Control Label'))}} < Div class = "call-sm-10" & gt; {{Form: Password ('password', array ('class' => form-control'))}} & lt; / Div & gt; & Lt; / Div & gt; I want to change this field to set up the old area in this area and when the user will update his form again, the null in the password value database will not be inserted.
itemprop = "text"> add your password verification rule: Required It would also be good if you use an additional input named password_confirmation and you confirm this password Adding to the named area> Verification rules.
Comments
Post a Comment