Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
b598ef88
Commit
b598ef88
authored
Aug 29, 2018
by
Cecilia Vela Gurovic
Committed by
Gerrit Code Review
Aug 29, 2018
Browse files
Merge "Bug 1785514: Only update auth instance for this user"
parents
61e272c7
6b1e6618
Changes
1
Show whitespace changes
Inline
Side-by-side
htdocs/admin/users/edit.php
View file @
b598ef88
...
...
@@ -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
;
$user
->
commit
();
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment