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>
Fri, 12 Jul 2013 01:54:48 +0000 (13:54 +1200)
commitac2a5530566ac68d47d0c82e49abc37bd968c9c7
treedb9d5291a207e08ed82e0b2e0cfa7263384c3d13
parent2e0c66c0e13f9267ecabee2f15273ca48c872e0d
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

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