]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/recoverpassword.php
Fix whitescreen on recoverpassword with unknown user
[quix0rs-gnu-social.git] / actions / recoverpassword.php
index d81c13b0059456e39df36c4312102381a00f4494..d8f95b24c3e4f189082c9d82771607f043aa22c7 100644 (file)
@@ -288,10 +288,11 @@ class RecoverpasswordAction extends Action
                            'have been sent to the email address registered to your ' .
                            'account.');
             $this->success = true;
-            $this->showPage();
         } catch (Exception $e) {
             $this->success = false;
+            $this->msg = $e->getMessage();
         }
+        $this->showPage();
     }
 
     function resetPassword()