Project

General

Profile

« Previous | Next » 

Revision 1473

Added by Dietmar over 13 years ago

found more backlinks to fix
remove not working ftan in frontend
fixed redirect in login procedure (Tks to mr-fan)
update droplet LoginBox, additional parameter $redirect
remove double config call in media (Tks to Testör)

View differences:

email.php
25 25

  
26 26
// Create a javascript back link
27 27
$js_back = WB_URL.'/account/preferences.php';
28

  
28
/*
29 29
if (!$wb->checkFTAN())
30 30
{
31 31
	$wb->print_error($MESSAGE['GENERIC_SECURITY_ACCESS'], $js_back, false);
32 32
	exit();
33 33
}
34

  
34
*/
35 35
// Get existing password
36 36
// $database = new database();
37 37
$query = "SELECT user_id FROM ".TABLE_PREFIX."users WHERE user_id = '".$wb->get_user_id()."' AND password = '".md5($current_password)."'";
......
58 58
	$wb->print_success($MESSAGE['PREFERENCES']['EMAIL_UPDATED']);
59 59
	$_SESSION['EMAIL'] = $email;
60 60
}
61

  
62
?>

Also available in: Unified diff