View Issue Details

IDProjectCategoryView StatusLast Update
0000839OXID eShop (all versions)1. ----- eShop frontend -----public2012-12-10 14:17
Reporterjoshua Assigned To 
PrioritylowSeveritytweakReproducibilityalways
Status resolvedResolutionfixed 
Summary0000839: Method forgotPassword in forgotpwd.php send email, even if user is not a user of current shop
DescriptionScenario:
We have two subshops in mall, user A is registered in shop with id 1 an uses the forgotpwd-function in shop with id 2, an email with the passwort-link is sent to the user. Clicking the link lead to shop with id 2 but results in an error saying the link is expired.

The problem resides in the method forgotpwd::forgotPassword(), there should be an additional check if the user is registered in current shop or if config option "blMallUsers" is enabled.



If you provide an email address of a user who is registered in e.g. shop with id 1
Additional InformationSuch case occurs, when option "blMallUsers" is not checked.
TagsSubshops
Theme
Browser
PHP Version
Database Version

Relationships

has duplicate 0001273 resolvedsarunas_valaskevicius forgot password emails with wrong links - wrong database query in oxemail::sendForgotPwdEmail() 

Activities

sarunas_valaskevicius

2009-09-04 15:02

reporter   ~0001656

now there is a check performed for blMallUsers, if it is set, old behaviour is left, while if blMallUsers == 0, there is strict checking of shop id (in where clause of sql) [oxemail::sendForgotPwdEmail]