Fix for bulk user change auth method problem (Bug #1180194)
authorRobert Lyon <robertl@catalyst.net.nz>
Sun, 26 May 2013 20:00:42 +0000 (08:00 +1200)
committerRobert Lyon <robertl@catalyst.net.nz>
Thu, 11 Jul 2013 01:07:14 +0000 (13:07 +1200)
commitcfe80afbc8f45e01f0c7b3279a01cdfbf6b35da7
treed3ff6b52d57d64c9e9ea1529806e82d71e041e97
parent8c02056001be5bc54fbd98be637dd21c7127b446
Fix for bulk user change auth method problem (Bug #1180194)

The auth_remote_user db table was not being updated correctly when
users were being moved from one auth method to another in bulk.
Fix adds in the correct lines to that table. Code similar to what
is used in admin/users/edit.php for single user update.

Moved some things around to improve performance and fixed a mistake
Used a better way to check authname

Change-Id: Ieb2d453bc06646444aadaff92ea5b42af4246411
Signed-off-by: Robert Lyon <robertl@catalyst.net.nz>
htdocs/admin/users/add.php
htdocs/admin/users/bulk.php
htdocs/lib/user.php