php - Can't get Laravel 4.2 to hash my passwords -


i've hashed passwords many times can't seem work on client's site.

here controller:

class listingcontroller extends basecontroller   {   public function create() {      return view::make('listing.listing'); }  public function store() {     $validator = validator::make($data = input::all(), listing::$rules, listing::$messages);     if ($validator->fails())     {         return redirect::back()->witherrors($validator)->withinput();     }      $data['passsword'] = hash::make(input::get('password'));      listing::create($data);      return redirect::to('/success')->with('message', 'thank you, listing has been submitted.'); } } 

and portion of form dealing password:

<div class="form-group">                 {{form::password('password', ['class' => 'form-control', 'placeholder' =>     'password', 'tabindex' => '11'])}} </div> 

am blind? have missed something? appreciated!


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -