Skip to content
Permalink
Browse files
Fix for AIRAVATA-2463
  • Loading branch information
Sneha Tilak authored and Sneha Tilak committed Jul 3, 2017
1 parent c1bedd4 commit a5cb98a20647669fbb3b5bd71f37310fff172574
Showing 1 changed file with 1 addition and 1 deletion.
@@ -506,14 +506,14 @@ public function checkRequest(){
$user_profile = Keycloak::getUserProfile($username);
EmailUtilities::gatewayRequestMail($user_profile["firstname"], $user_profile["lastname"], $email, $inputs["gateway-name"]);
Session::put("message", "Your request for Gateway " . $inputs["gateway-name"] . " has been created.");
return Redirect::to("admin/dashboard");
}
else{
$error = "A Gateway already exists with the same GatewayId, Name or URL! Please make a new request.";
return Redirect::to("admin/dashboard")
->withInput()
->withErrors($error);
}
return Redirect::to("admin/dashboard");
}
}

0 comments on commit a5cb98a

Please sign in to comment.