Elgg  Version 6.1
Variables
changepassword.php File Reference

Go to the source code of this file.

Variables

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

Variable Documentation

$code = (string) get_input('c')

Definition at line 12 of file changepassword.php.

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

Definition at line 9 of file changepassword.php.

$password_repeat = (string) get_input('password2', '', 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)
elgg
Definition: install.js:27
$password

Definition at line 14 of file changepassword.php.