[FIX] Not Login with SSO after upgrade to version 5.4.0 and 5.4.1 (#4783)

* [FIX] Not Login with SSO after upgrade to version 5.4.0 and 5.4.1

* minor tweak
This commit is contained in:
Reinaldo Neto 2023-01-10 20:17:14 -03:00 committed by GitHub
parent 9525ef25d8
commit 3a1b06b86c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -16,8 +16,8 @@ import { Services } from '../lib/services';
import { IApplicationState, ICredentials } from '../definitions'; import { IApplicationState, ICredentials } from '../definitions';
const userAgent = isIOS const userAgent = isIOS
? 'Mozilla/5.0 (iPhone; CPU iPhone OS 10_3_1 like Mac OS X) AppleWebKit/603.1.30 (KHTML, like Gecko) Version/10.0 Mobile/14E304 Safari/602.1' ? 'Mozilla/5.0 (iPhone; CPU iPhone OS 15_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Mobile/15E148 Safari/604.1'
: 'Mozilla/5.0 (Linux; Android 6.0.1; SM-G920V Build/MMB29K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.98 Mobile Safari/537.36'; : 'Mozilla/5.0 (Linux; Android 12; SM-A315G) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Mobile Safari/537.36';
// iframe uses a postMessage to send the token to the client // iframe uses a postMessage to send the token to the client
// We'll handle this sending the token to the hash of the window.location // We'll handle this sending the token to the hash of the window.location