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:56:33 +0000 (13:56 +1200)
commit7d6ab3e30b664b00bf772e8e7927dcf90dd6b5b0
tree9e2cb5dc163bc5290f2062c9107710b49d97a7d2
parent2ba43bfddda3959b42f85bf6bf66c5b309399471
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