mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-03 14:25:37 +02:00
[181017] saving user id change
This commit is contained in:
parent
eafea435c9
commit
1604d47c7c
1 changed files with 2 additions and 3 deletions
|
@ -62,10 +62,9 @@ public abstract class AuthenticatingConnectorService extends AbstractConnectorSe
|
|||
*/
|
||||
public final void setUserId(String newId) {
|
||||
String oldUserId = credentialsProvider.getUserId();
|
||||
if (oldUserId == null || oldUserId.equals(newId)) {
|
||||
updateDefaultUserId(getPrimarySubSystem(), getUserId());
|
||||
if (oldUserId == null || !oldUserId.equals(newId)) {
|
||||
credentialsProvider.setUserId(newId);
|
||||
setDirty(true);
|
||||
saveUserId();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue