You are here

function _profile2_regpath_user_password in Profile2 Registration Path 7

Same name and namespace in other branches
  1. 7.2 profile2_regpath.inc \_profile2_regpath_user_password()

Page callback: Displays the forgot password form.

Path: [path-setting]/password

Parameters

object $profiles: 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

./registration_form.inc, line 55
Builds profile-specific register, login, and password forms.

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;
}