From a80528a2367705b257e44f3133286ddccbf626a8 Mon Sep 17 00:00:00 2001 From: nickw Date: Thu, 27 May 2010 20:12:32 +0000 Subject: Registering user password request/reset as public actions. git-svn-id: http://code.elgg.org/elgg/trunk@6258 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/users.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/engine/lib/users.php b/engine/lib/users.php index dae7341ac..118a96b32 100644 --- a/engine/lib/users.php +++ b/engine/lib/users.php @@ -1293,10 +1293,10 @@ function elgg_user_resetpassword_page_handler($page) { 'action' => $CONFIG->site->url . 'action/user/passwordreset' )); - $content = elgg_view_title(elgg_echo('resetpassword')); - $content .= elgg_view('page_elements/contentwrapper', array('body' => $form)); + $title = elgg_echo('resetpassword'); + $content = elgg_view_title(elgg_echo('resetpassword')) . $form; - page_draw($title, $content); + page_draw($title, elgg_view_layout('one_column', $content)); } /** @@ -1806,8 +1806,8 @@ function users_init() { register_action("usersettings/save"); - register_action("user/passwordreset"); - register_action("user/requestnewpassword"); + register_action("user/passwordreset", TRUE); + register_action("user/requestnewpassword", TRUE); // User name change extend_elgg_settings_page('user/settings/name', 'usersettings/user', 1); -- cgit v1.2.3