diff options
author | nickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-05-27 20:12:32 +0000 |
---|---|---|
committer | nickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-05-27 20:12:32 +0000 |
commit | a80528a2367705b257e44f3133286ddccbf626a8 (patch) | |
tree | 4faf26557ee84a5d913931539ae49f4e96216b88 | |
parent | 9cc2ad30bf7a0e5a1e5c90f49794ab6eaafd51ba (diff) | |
download | elgg-a80528a2367705b257e44f3133286ddccbf626a8.tar.gz elgg-a80528a2367705b257e44f3133286ddccbf626a8.tar.bz2 |
Registering user password request/reset as public actions.
git-svn-id: http://code.elgg.org/elgg/trunk@6258 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r-- | engine/lib/users.php | 10 |
1 files 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); |