From 9d7eed52f3e283d288b377a163ec479038bc2106 Mon Sep 17 00:00:00 2001 From: marcus Date: Fri, 1 Aug 2008 15:49:55 +0000 Subject: Refs #191: Actions for resetting passwords, but no front end as yet. To request a password reset access http://..../actions/user/requestnewpassword/?username=username git-svn-id: https://code.elgg.org/elgg/trunk@1656 36083f99-b078-4883-b0ff-0f9b5a30f544 --- actions/user/passwordreset.php | 27 +++++++++++++++++++++++++++ actions/user/requestnewpassword.php | 31 +++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 actions/user/passwordreset.php create mode 100644 actions/user/requestnewpassword.php (limited to 'actions/user') diff --git a/actions/user/passwordreset.php b/actions/user/passwordreset.php new file mode 100644 index 000000000..677bc591d --- /dev/null +++ b/actions/user/passwordreset.php @@ -0,0 +1,27 @@ + \ No newline at end of file diff --git a/actions/user/requestnewpassword.php b/actions/user/requestnewpassword.php new file mode 100644 index 000000000..4f1fe7e83 --- /dev/null +++ b/actions/user/requestnewpassword.php @@ -0,0 +1,31 @@ +guid)) + system_message(elgg_echo('user:password:resetreq:success')); + else + register_error(elgg_echo('user:password:resetreq:fail')); + } + else + register_error(sprintf(elgg_echo('user:username:notfound'), $username)); + + forward($_SERVER['HTTP_REFERER']); + exit; +?> \ No newline at end of file -- cgit v1.2.3