summaryrefslogtreecommitdiff
path: root/ng_selfservice/xmlrpc_validate_passwd.php
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2016-12-17 19:53:23 -0600
committerJonathan Prykop <jonathan@freeside.biz>2016-12-17 19:53:23 -0600
commit80bfc5e1b11694553ddaa48e3b181462cfadc9dd (patch)
treefd2c7d2547e9edba5222aab08768b0679bf03cb3 /ng_selfservice/xmlrpc_validate_passwd.php
parentdbb1f2c9894385044ed85b64d9016b2eeb06d649 (diff)
73443: Selfservice NG Password reset page
Diffstat (limited to 'ng_selfservice/xmlrpc_validate_passwd.php')
-rw-r--r--ng_selfservice/xmlrpc_validate_passwd.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/ng_selfservice/xmlrpc_validate_passwd.php b/ng_selfservice/xmlrpc_validate_passwd.php
new file mode 100644
index 0000000..5632dc3
--- /dev/null
+++ b/ng_selfservice/xmlrpc_validate_passwd.php
@@ -0,0 +1,15 @@
+<?
+
+require_once('elements/session.php');
+
+$xmlrpc_args = array(
+ fieldid => $_POST['fieldid'],
+ check_password => $_POST['check_password'],
+ svcnum => $_POST['svcnum'],
+ session_id => $_COOKIE['session_id']
+);
+
+$result = $freeside->validate_passwd($xmlrpc_args);
+echo json_encode($result);
+
+?>