MantisBT - ATutor
View Issue Details
0002397ATutorEnrollmentpublic2006-05-07 07:542006-05-24 11:56
greg 
user2 
urgentminoralways
closedfixed 
 
1.5.3 
1.5.2
0002397: students receive other students pwds
in 1.5.2 Students added to a course through the enrollment manager create list recieve others login info. First users added recieves his info. 2nd user recieves his info and info for user 1. 3rd user recieves his info and info for 2nd and 1st users. This is reproducable on the demo site.

see: http://www.atutor.ca/view/7/7964/1.html [^]

This is serious, so a patch needs to be posted asap.
No tags attached.
Issue History
2006-05-07 07:54gregNew Issue
2006-05-07 08:10gregNote Added: 0001789
2006-05-07 15:15gregNote Edited: 0001789
2006-05-12 08:33user2Affects version => 1.5.2
2006-05-12 08:33user2Prioritynormal => high
2006-05-12 08:33user2Priorityhigh => urgent
2006-05-16 06:58user2Statusnew => resolved
2006-05-16 06:58user2Fixed in Version => 1.5.3
2006-05-16 06:58user2Resolutionopen => fixed
2006-05-16 06:58user2Assigned To => user2
2006-05-24 11:56user2Statusresolved => closed

Notes
(0001789)
greg   
2006-05-07 08:10   
(edited on: 2006-05-07 15:15)
The $body variable in include/lib/enrol.inc.php needs to be unset.

I have posted the fix, so check SVN re: 1.5.3 and add unset($body) where the mail function runs.

http://www.atutor.ca/view/7/7964/1.html [^]