mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1001182 - FxAccountsManager.jsm correctly handles {refreshAuthentication:0} r=jedp
This commit is contained in:
parent
f8b52f5363
commit
f5ec29e7a8
@ -378,7 +378,7 @@ this.FxAccountsManager = {
|
||||
|
||||
// RPs might require an authentication refresh.
|
||||
if (aOptions &&
|
||||
aOptions.refreshAuthentication) {
|
||||
(typeof(aOptions.refreshAuthentication) != "undefined")) {
|
||||
let gracePeriod = aOptions.refreshAuthentication;
|
||||
if (typeof gracePeriod != 'number' || isNaN(gracePeriod)) {
|
||||
return this._error(ERROR_INVALID_REFRESH_AUTH_VALUE);
|
||||
|
Loading…
Reference in New Issue
Block a user