/**
  * Create a new user
  *
  * @return integer
  */
 public function resend(array $input)
 {
     if (!$this->valid($input)) {
         return false;
     }
     return $this->user->resend($input);
 }
Esempio n. 2
0
 /**
  * Create a new user
  *
  * @return integer
  */
 public function change(array $input)
 {
     if (!$this->valid($input)) {
         return false;
     }
     return $this->user->changePassword($input);
 }
Esempio n. 3
0
 /**
  * Create a new session
  *
  * @return integer
  */
 public function save(array $input)
 {
     if (!$this->valid($input)) {
         return false;
     }
     return $this->session->store($input);
 }
Esempio n. 4
0
 /**
  * Create a new user
  *
  * @return integer
  */
 public function forgot(array $input)
 {
     if (!$this->valid($input)) {
         return false;
     }
     return $this->user->forgotPassword($input);
 }
Esempio n. 5
0
 /**
  * Create a new user
  *
  * @return integer
  */
 public function save(array $input)
 {
     if (!$this->valid($input)) {
         return false;
     }
     $activate = isset($input['activate']) && $input['activate'] ?: false;
     return $this->user->store($input, $activate);
 }