Moodle

Password is overwritten when uploading a user a second time.

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.8
  • Fix Version/s: 1.9
  • Component/s: Administration
  • Labels:
    None
  • Environment:
    Moodle1.8+ ( 9th April 2007)
  • Affected Branches:
    MOODLE_18_STABLE
  • Fixed Branches:
    MOODLE_19_STABLE

Description

Password is overwritten when uploading a user a second time.

For exemple, assume "JamesBond" is enrolled for the first time (in course1 = C1). The file to upload is:

username, password, firstname, lastname, email, course1, group1
JamesBond, secret, James, Bond, email@mi5.com, C1, G1

JamesBond decides then to change is password to "topsecret".

Next "JameBond" is enrolled in course2 = C2:

username, password, firstname, lastname, email, course1, group1
JamesBond, secret, James, Bond, email@mi5.com, C2, G2

The actual password is then again "secret" (i.e. not "topsecret") which is quite embarassing.

I have tried with all possible parameters (the parameter "Update existing accounts =Yes" is neccessary for the enrollment in the course but then the password is overwritten; I have also tried "Allow renames=No").

Issue Links

Activity

Hide
Petr Škoda (skodak) added a comment -

should be fixed now in latest 1.9dev,
please test it, thanks for the report

Show
Petr Škoda (skodak) added a comment - should be fixed now in latest 1.9dev, please test it, thanks for the report
Hide
Francis Vendrell added a comment - - edited

Thanks Petr, password is no more overwritten if the parameter "No changes" of the field "Existing user password" is choosen.

Show
Francis Vendrell added a comment - - edited Thanks Petr, password is no more overwritten if the parameter "No changes" of the field "Existing user password" is choosen.

People

Vote (3)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: