MDL-35104 auth: Don't allow modification of username
authorCameron Ball <cameron@moodle.com>
Tue, 31 May 2016 09:56:33 +0000 (17:56 +0800)
committerCameron Ball <cameron@moodle.com>
Tue, 21 Jun 2016 03:15:19 +0000 (11:15 +0800)
commit8c2b696bf75b6c64434a15be0054b5b14f456c33
tree08385aff43ae02e0b5560ab528be71cf74aa585c
parent49619ce243157c1ee73051e8c5770c00133569a5
MDL-35104 auth: Don't allow modification of username

Presently it is either unreliable, or not possible to change
the username of a user created with an authentication plugin.
In some cases it is even hard coded to fail. Ideally we would
sync the username, and the issue MDL-21928 exists to address
that. However, in the mean time we should not allow the
username of an external user to be modified.
lang/en/auth.php
user/editadvanced_form.php