claratan that is a very bad idea and should never be done !
because if you were to repopulate the field then the user or anyone else could look at the source code of your page and read the plain text password
passwords should be encrypted using a one way encryption
hope this helps
To pre-populate a password field you would need to do Form::input('password', 'field_name', Input::old('user_password'), ['class' => 'form-control'])
. Bear in mind the Form::password()
function doesn't allow you to do this by design because the password would be in plain-text in the HTML source of your page.
Showing a users password after its been hashed isn't possible. Hashing is a one-way thing, it cannot be reversed.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community