src/controllers/AuthController.php
public function postReminder() {
    $email = Input::get('email');

    try {
      $this->reminder->send($email);
      return Redirect::to("/user/recupero-success")->with(array ("messageReminder" => L::t('Check your mail inbox, we sent you an email to recover your password.')));
    } catch (Pbi $e) {
      $errors = $this->reminder->getErrors();
      return Redirect::back()->withErrors($errors);
    }
  }
public function postReminder() {
    $email = Input::get('email');

    try {
      $this->reminder->send($email);
      return Redirect::to("/user/recupero-success")->with(array ("messageReminder" => L::t('Check your mail inbox, we sent you an email to recover your password.')));
    } catch (Pbi $e) {
      $errors = $this->reminder->getErrors();
      return Redirect::back()->withErrors($errors);
    }
  }
public function postReminder ( ) { $ email = Input :: get ( 'email' ) ; try { $ this -> reminder -> send ( $ email ) ; return Redirect :: to ( "/user/recupero-success" ) -> with ( array ( "messageReminder" => L :: t ( 'Check your mail inbox, we sent you an email to recover your password.' ) ) ) ; } catch ( Pbi $ e ) { $ errors = $ this -> reminder -> getErrors ( ) ; return Redirect :: back ( ) -> withErrors ( $ errors ) ; } }
Invio token per set nuova password via mail

@return mixed
Invio token per set nuova password via mail