KEYCLOAK-3606
keycloak.js calls localStorage.key(localStorage.length) indirectly
This commit is contained in:
parent
69dddfa73a
commit
5f58c96258
1 changed files with 1 additions and 1 deletions
|
@ -1049,7 +1049,7 @@
|
|||
|
||||
function clearExpired() {
|
||||
var time = new Date().getTime();
|
||||
for (var i = 1; i <= localStorage.length; i++) {
|
||||
for (var i = 0; i < localStorage.length; i++) {
|
||||
var key = localStorage.key(i);
|
||||
if (key && key.indexOf('kc-callback-') == 0) {
|
||||
var value = localStorage.getItem(key);
|
||||
|
|
Loading…
Reference in a new issue