Skip to content
Snippets Groups Projects
Commit 04ce9979 authored by Gospodin Bodurov's avatar Gospodin Bodurov
Browse files

Merge branch '25-login-logout-shows-not-authenticated-error-randomly' into 'master'

Resolve "Login - logout shows Not authenticated error randomly"

Closes #25

See merge request !18
parents d0c8e3a4 d2b09de3
No related branches found
No related tags found
1 merge request!18Resolve "Login - logout shows Not authenticated error randomly"
export const LOGIN_MODES = {
SMS: 'sms',
PREVIOUSLY_ADDED_DEVICE: 'previousaddeddevice',
NEW_DEVICE: 'newdevice'
};
This diff is collapsed.
......@@ -79,9 +79,12 @@ func buildViamAPI() string {
"}\n\n"
result += "ViamAPI.prototype.setSessionData = function(uuid, token, deviceHash) {\n" +
result += "ViamAPI.prototype.setSessionData = function(uuid, token) {\n" +
" this.config.headers.uuid = uuid;\n" +
" this.config.headers.token = token;\n" +
"};\n\n"
result += "ViamAPI.prototype.setDeviceHash = function(deviceHash) {\n" +
" this.config.headers.deviceHash = deviceHash;\n" +
"};\n\n"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment