Exemplo n.º 1
0
 /**
  * Create a new password controller instance.
  *
  * @param  \App\Services\UserManager  $auth
  * @param  \Illuminate\Contracts\Auth\PasswordBroker  $passwords
  * @return void
  */
 public function __construct(\App\Services\UserManager $manager, PasswordBroker $passwords)
 {
     $this->passwords = $passwords;
     /*
     $this->middleware('auth', [
     		'except' => ['getEmail', 'postEmail'],
     	]);
     )
     */
     return parent::__construct($manager);
 }
Exemplo n.º 2
0
 /**
  * Create a new password controller instance.
  *
  * @param  \Illuminate\Http\Request  $request
  * @param  \App\Services\UserManager  $auth
  * @param  \Illuminate\Contracts\Auth\PasswordBroker  $passwords
  * @return void
  */
 public function __construct(UserManager $manager, Router $router, PasswordBroker $passwords)
 {
     $this->passwords = $passwords;
     return parent::__construct($manager, $router);
 }