public function postRemind() { switch ($response = $this->password->remind($this->request->only('email'))) { case $this->password->INVALID_USER: return $this->redirector->back()->with('error', $this->translator->get($response)); case $this->password->REMINDER_SENT: return $this->redirector->back()->with('status', $this->translator->get($response)); } }