Commit 6b1e6618 authored by Robert Lyon's avatar Robert Lyon
Browse files

Bug 1785514: Only update auth instance for this user

When we add a user to an institution that doesn't have internal auth
on the admin/users/edit.php page


Change-Id: I7395d1481b15c0e1e82eec0a61b3cca891df72f9
Signed-off-by: Robert Lyon's avatarRobert Lyon <>
parent 8489d510
......@@ -186,8 +186,8 @@ foreach ($user_insts as $inst) {
$internal = insert_record('auth_instance', $todb, 'id', true);
// Now we know we have an internal auth for the user, set it
set_field('usr', 'authinstance', $internal);
$user->authinstance = $internal;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment