fix #653: auto-closing tab when starting from link

This commit is contained in:
antelle 2017-06-03 20:11:09 +02:00
parent dc20bdae10
commit bcafbde0d6
2 changed files with 5 additions and 0 deletions

View File

@ -5,6 +5,10 @@ const AuthReceiver = {
receive: function() {
const opener = window.opener || window.parent;
const message = this.urlArgsToMessage(window.location.href);
const hasKeys = Object.keys(message).filter(key => key !== 'config').length > 0;
if (!hasKeys) {
return false;
}
if (FeatureDetector.isStandalone) {
Storage[sessionStorage.authStorage].handleOAuthReturnMessage(message);
return false;

View File

@ -2,6 +2,7 @@ Release notes
-------------
##### v1.6.0 (WIP)
`+` auto-lock on computer lock
`-` fixed auto-closing tab when starting from link
##### v1.5.4 (2017-06-03)
`-` fix #649: loading keyfiles with path