/**
  * Create a new password reminder controller instance.
  *
  * @param  PasswordBroker $passwords
  * @return \Larabook\Http\Controllers\RemindersController
  */
 public function __construct(PasswordBroker $passwords)
 {
     parent::__construct();
     $this->passwords = $passwords;
     $this->beforeFilter('guest');
     $this->beforeFilter('csrf', ['on' => ['post']]);
 }
Ejemplo n.º 2
0
 public function __construct()
 {
     parent::__construct();
     $this->beforeFilter('guest', ['except' => ['destroy']]);
     $this->beforeFilter('auth', ['only' => ['logout']]);
 }
 public function __construct()
 {
     parent::__construct();
     $this->beforeFilter('csrf', ['on' => ['post']]);
     $this->beforeFilter('guest');
 }
Ejemplo n.º 4
0
 public function __construct(UserRepository $repository)
 {
     parent::__construct();
     $this->repository = $repository;
 }
Ejemplo n.º 5
0
 public function __construct()
 {
     parent::__construct();
     $this->beforeFilter('auth');
 }