From 8cd649b12a92731704f3bdc85c1613ef5015b2ed Mon Sep 17 00:00:00 2001 From: Martin Haase <martin.haase@daasi.de> Date: Thu, 2 Dec 2010 16:05:39 +0000 Subject: [PATCH] removed outdated secret, replacing it with an input field git-svn-id: https://textgridlab.org/svn/textgrid/trunk/middleware/tgauth@7974 7c539038-3410-0410-b1ec-0f2a7bf1c452 --- .../rbacSoap/examples/tgCrudCheckAccess.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/info.textgrid.middleware.tgauth.rbac/rbacSoap/examples/tgCrudCheckAccess.php b/info.textgrid.middleware.tgauth.rbac/rbacSoap/examples/tgCrudCheckAccess.php index 629c589..d3c650d 100755 --- a/info.textgrid.middleware.tgauth.rbac/rbacSoap/examples/tgCrudCheckAccess.php +++ b/info.textgrid.middleware.tgauth.rbac/rbacSoap/examples/tgCrudCheckAccess.php @@ -30,9 +30,8 @@ if( isset( $_POST['auth'] ) ) { // ----------------------------------------------------- $regReq = new tgCrudCheckAccessRequest(); $regReq->auth = $_POST['auth']; - $regReq->secret = "29hsudhf892en11syodw34fh0d"; + $regReq->secret = $_POST['secret']; $reqReq->log = ""; -// $regReq->sid = $_POST['sid']; $regReq->resource = $_POST['resource']; $regReq->operation = $_POST['operation']; @@ -75,6 +74,7 @@ echo "<FORM action=\"tgCrudCheckAccess.php\" method=\"post\" enctype=\"multipart echo "Auth: <INPUT type=\"text\" name=\"auth\" value=\"\"><BR>\n"; echo "Operation: <INPUT type=\"text\" name=\"operation\" value=\"\"><BR>\n"; echo "Resource: <INPUT type=\"text\" name=\"resource\" value=\"\"><BR>\n"; +echo "CRUD secret: <INPUT type=\"text\" name=\"secret\" value=\"\"><BR>\n"; echo "<INPUT type=\"submit\" value=\"Commit...\">\n"; echo "</FORM>\n"; -- GitLab