mirror of https://github.com/keeweb/keeweb.git
Reverted https warning back
This commit is contained in:
parent
c8dc0aefa0
commit
0405ba0321
|
@ -113,13 +113,18 @@ ready(() => {
|
|||
const protocolIsInsecure = ['https:', 'file:', 'app:'].indexOf(location.protocol) < 0;
|
||||
const hostIsInsecure = location.hostname !== 'localhost';
|
||||
if (protocolIsInsecure && hostIsInsecure && !skipHttpsWarning) {
|
||||
Alerts.error({
|
||||
header: Locale.appSecWarn, icon: 'user-secret', esc: false, enter: false, click: false,
|
||||
body: Locale.appSecWarnBody1,
|
||||
buttons: [],
|
||||
complete: () => {
|
||||
showView();
|
||||
}
|
||||
return new Promise(resolve => {
|
||||
Alerts.error({
|
||||
header: Locale.appSecWarn, icon: 'user-secret', esc: false, enter: false, click: false,
|
||||
body: Locale.appSecWarnBody1 + '<br/><br/>' + Locale.appSecWarnBody2,
|
||||
buttons: [
|
||||
{result: '', title: Locale.appSecWarnBtn, error: true}
|
||||
],
|
||||
complete: () => {
|
||||
showView();
|
||||
resolve();
|
||||
}
|
||||
});
|
||||
});
|
||||
} else {
|
||||
showView();
|
||||
|
|
|
@ -282,7 +282,9 @@
|
|||
"autoTypeNoMatches": "no matches",
|
||||
|
||||
"appSecWarn": "Not Secure!",
|
||||
"appSecWarnBody1": "You have loaded this app with an insecure connection, please host it on HTTPS.",
|
||||
"appSecWarnBody1": "You have loaded this app with an insecure connection. Someone may be watching you and stealing your passwords. We strongly advise you to stop, unless you clearly understand what you're doing.",
|
||||
"appSecWarnBody2": "Yes, your database is encrypted but no one can guarantee that the app has not been modified on the way to you.",
|
||||
"appSecWarnBtn": "I understand the risks, continue",
|
||||
"appUnsavedWarn": "Unsaved changes!",
|
||||
"appUnsavedWarnBody": "You have unsaved files, if you close the app, changes will be lost.",
|
||||
"appDontExitBtn": "Don't exit",
|
||||
|
|
|
@ -5,7 +5,6 @@ Release notes
|
|||
`-` fixed calendar colors
|
||||
`+` option to open a keyfile from command line
|
||||
`+` master password confirmation
|
||||
`*` https is now required
|
||||
|
||||
##### v1.6.3 (2017-12-11)
|
||||
`-` fixed Windows installer upgrade issue
|
||||
|
|
Loading…
Reference in New Issue