restore condition for ensureConnectUser
This commit is contained in:
parent
aca1fca0c2
commit
2542339e42
1 changed files with 2 additions and 0 deletions
|
@ -235,8 +235,10 @@ define(["events", "apiclient", "appStorage"], function (events, apiClientFactory
|
||||||
}
|
}
|
||||||
|
|
||||||
function ensureConnectUser(credentials) {
|
function ensureConnectUser(credentials) {
|
||||||
|
if (connectUser && connectUser.Id === credentials.ConnectUserId) {
|
||||||
return Promise.resolve();
|
return Promise.resolve();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
function validateAuthentication(server, serverUrl) {
|
function validateAuthentication(server, serverUrl) {
|
||||||
return ajax({
|
return ajax({
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue