Elgg  Version 4.3
Variables
changepassword.php File Reference

Go to the source code of this file.

Variables

 $password = get_input('password1', null, false)
 
 $password_repeat = get_input('password2', null, false)
 
 $user_guid = (int) get_input('u')
 
 $code = get_input('c')
 
 try
 
catch(RegistrationException $e) if($password!==$password_repeat) $user = get_user($user_guid)
 

Variable Documentation

$code = get_input('c')

Definition at line 12 of file changepassword.php.

$password = get_input('password1', null, false)

Definition at line 9 of file changepassword.php.

$password_repeat = get_input('password2', null, false)

Definition at line 10 of file changepassword.php.

catch (RegistrationException $e) if ($password!==$password_repeat) $user = get_user($user_guid)

Definition at line 24 of file changepassword.php.

$user_guid = (int) get_input('u')

Definition at line 11 of file changepassword.php.

if (!$user instanceof\ElggUser||!elgg_save_new_password($user, $code, $password)) try
Initial value:
{
elgg()->accounts->assertValidPassword($password)
$password
var elgg
Definition: elgglib.js:4

Definition at line 14 of file changepassword.php.