src/models/User.php
public static function boot()
	{
		parent::boot();

		static::saving(function($user) {
			if ($user->skipEvents) return;

			// If we're updating the password, hash it
			if (Input::exists('password')) {
				$user->password = Hash::make(Input::get('password'));
			}
		});
	}
public static function boot()
	{
		parent::boot();

		static::saving(function($user) {
			if ($user->skipEvents) return;

			// If we're updating the password, hash it
			if (Input::exists('password')) {
				$user->password = Hash::make(Input::get('password'));
			}
		});
	}
/////////////////////////////////////////////