You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sc...@apache.org on 2015/10/19 22:10:23 UTC

[6/6] airavata-php-gateway git commit: fixing account creation failure messages

fixing account creation failure messages


Project: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/commit/88b50373
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/88b50373
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/88b50373

Branch: refs/heads/master
Commit: 88b50373da2e504a48da07fe32eb16b12641d908
Parents: 68f894d
Author: scnakandala <su...@gmail.com>
Authored: Mon Oct 19 16:09:43 2015 -0400
Committer: scnakandala <su...@gmail.com>
Committed: Mon Oct 19 16:09:43 2015 -0400

----------------------------------------------------------------------
 app/controllers/AccountController.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/88b50373/app/controllers/AccountController.php
----------------------------------------------------------------------
diff --git a/app/controllers/AccountController.php b/app/controllers/AccountController.php
index 355a164..0f9ccf7 100755
--- a/app/controllers/AccountController.php
+++ b/app/controllers/AccountController.php
@@ -275,10 +275,11 @@ class AccountController extends BaseController
                 if($result){
                     return Redirect::to("login");
                 }else{
+                    CommonUtilities::print_error_message("Account confirmation failed!");
                     return View::make("home");
                 }
             }catch (Exception $e){
-                var_dump($e);exit;
+                CommonUtilities::print_error_message("Account confirmation failed!");
                 return View::make("home");
             }
         }