Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
Vereign Client Library
Manage
Activity
Members
Labels
Plan
Issues
24
Issue boards
Milestones
Wiki
Code
Merge requests
5
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Code
Vereign Client Library
Merge requests
!35
Resolve "Re-login attempt doesn't work after refactoring."
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Re-login attempt doesn't work after refactoring."
33-re-login-attempt-doesn-t-work-after-refactoring
into
master
Overview
1
Commits
1
Pipelines
0
Changes
1
Merged
Igor Markin
requested to merge
33-re-login-attempt-doesn-t-work-after-refactoring
into
master
6 years ago
Overview
1
Commits
1
Pipelines
0
Changes
1
Expand
Closes
#33 (closed)
Edited
6 years ago
by
Igor Markin
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
aab1ddcc
1 commit,
6 years ago
1 file
+
1
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
javascript/src/iframe/viamapi-iframe.js
+
1
−
1
Options
@@ -266,7 +266,7 @@ async function executeRestfulFunction(type, that, fn, config, ...args) {
const
badSession
=
type
===
"
private
"
&&
identity
&&
code
===
"
400
"
&&
status
===
"
Bad session
"
;
if
(
!
badSession
)
return
response
.
data
;
const
loginResponse
=
await
viamApi
.
identityLogin
(
"
previousaddeddevice
"
);
const
loginResponse
=
await
viamApi
.
identityLogin
(
null
,
"
previousaddeddevice
"
);
if
(
loginResponse
.
data
.
code
!==
"
200
"
)
return
loginResponse
.
data
;
const
uuid
=
loginResponse
.
data
.
data
[
"
Uuid
"
];
Loading