mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-27 07:34:20 +00:00
Bug 1001182 - FxAccountsManager.jsm correctly handles {refreshAuthentication:0} r=jedp
This commit is contained in:
parent
d8ead71247
commit
1a8e07ee0b
@ -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…
x
Reference in New Issue
Block a user