[Mapbender_dev] new user interface

Armin Retterath armin.retterath at lvermgeo.rlp.de
Tue Jul 13 00:34:29 EDT 2010


hello alltogether,

please don't forget to actualize not only the mb_user_password 
columns, but also the mb_user_digest column when mb_user_name, 
mb_user_password and/or mb_user_email changes.
the mb_user_password and mb_user_digest have to be in sync.

thanx
armin

like here in forgotten_password.php

	$new_password  = $administration->getRandomPassword();
	$sql_update = "UPDATE mb_user SET mb_user_password = $1, 
mb_user_digest = $3 WHERE mb_user_id = $2";
	$v          = array(md5($new_password),$administration-
>getUserIdByUserName(USER_NAME),md5(USER_NAME.";".USER_EMAIL.":".REALM.":".
$new_password));
	$t          = array("s","i");


-- 
Im Auftrag
--
Armin Retterath

Kompetenz- und Geschäftsstelle Geodateninfrastruktur Rheinland-Pfalz
beim
Landesamt für Vermessung und Geobasisinformation Rheinland-Pfalz

Ferdinand-Sauerbruch-Straße 15
56073 Koblenz
Telefon 0261/492-466
Telefax 0261/492-492
armin.retterath at lvermgeo.rlp.de
http://www.geoportal.rlp.de


More information about the Mapbender_dev mailing list