Merge pull request #3443 from stianst/KEYCLOAK-3606

KEYCLOAK-3606
This commit is contained in:
Stian Thorgersen 2016-10-28 11:51:21 +02:00 committed by GitHub
commit 3ea555bae6

View file

@ -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);