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
85bce8c2c2
commit
17ef90f9f4
@ -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