You are here

function _profile2_regpath_user_password in Profile2 Registration Path 7.2

Same name and namespace in other branches
  1. 7 registration_form.inc \_profile2_regpath_user_password()

Page callback: Displays the forgot password form.

Path: [path-setting]/password

Parameters

object $regpath: Object containing single row from profile2_regpath_get_profiles() database result.

See also

profile2_regpath_menu()

1 string reference to '_profile2_regpath_user_password'
profile2_regpath_menu in ./profile2_regpath.module
Implements hook_menu().

File

./profile2_regpath.inc, line 130
Modifications to the user registration form.

Code

function _profile2_regpath_user_password($regpath) {
  module_load_include('pages.inc', 'user', 'user');
  $output = drupal_get_form('user_pass');
  _profile2_regpath_set_title($regpath, 'password_title');
  return $output;
}