CRM-13621 - fix error messages
authorDonald A. Lobo <lobo@civicrm.org>
Tue, 22 Oct 2013 20:49:29 +0000 (13:49 -0700)
committerDonald A. Lobo <lobo@civicrm.org>
Tue, 22 Oct 2013 20:49:29 +0000 (13:49 -0700)
----------------------------------------
* CRM-13621: Handle invalid session errors especially for public pages in a nicer manner
  http://issues.civicrm.org/jira/browse/CRM-13621

CRM/Core/Controller.php

index bd983966c510d87406f92f7f1798ffc51c1b751e..22a5bf579c6f1f72e6c31f44a83cb9456a95b939 100644 (file)
@@ -802,7 +802,7 @@ class CRM_Core_Controller extends HTML_QuickForm_Controller {
    */
   public function invalidKeyRedirect() {
     if ($this->_entryURL) {
-      CRM_Core_Session::setStatus(ts('We have lost your user session and are unable to complete your form submission. We have returned you to the initial step in the form which you can complete and resubmit. If you experience continued difficulties, please contact us for assistance.'));
+      CRM_Core_Session::setStatus(ts('Your browser session has expired and we are unable to complete your form submission. We have returned you to the initial step so you can complete and resubmit the form. If you experience continued difficulties, please contact us for assistance.'));
       return CRM_Utils_System::redirect($this->_entryURL);
     }
     else {