Skip to content

Commit 4b9c2be

Browse files
authored
Update web_src/js/features/common-global.js
1 parent a9f94e3 commit 4b9c2be

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

web_src/js/features/common-global.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,6 @@ export function checkAppUrlScheme() {
458458
const curUrl = window.location.href;
459459
// some users visit "http://domain" while appUrl is "https://domain", COOKIE_SECURE makes it impossible to sign in
460460
if (curUrl.startsWith('http:') && appUrl.startsWith('https:')) {
461-
showGlobalErrorMessage(`Your ROOT_URL in app.ini "${appUrl}" uses HTTPS, it doesn't match the HTTP site you are visiting.
462-
Mismatched ROOT_URL config would cause problems for sign-in/sign-up, etc.`, 'warning');
461+
showGlobalErrorMessage(`This instance is configured to run under HTTPS (by ROOT_URL config), you are accessing by HTTP. Mismatched scheme might cause problems for sign-in/sign-up.`, 'warning');
463462
}
464463
}

0 commit comments

Comments
 (0)