Skip to content

Commit 3489693

Browse files
committed
Added auto cookies clear and compile
1 parent a0d6283 commit 3489693

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

www/coffee/lib/oauth.coffee

+1-1
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ module.exports = (window, document, jQuery, navigator) ->
177177
return
178178
, 1200 * 1000)
179179

180-
wnd = window.open(url, "_blank", 'location=no')
180+
wnd = window.open(url, "_blank", 'location=no,clearsessioncache=yes,clearcache=yes')
181181

182182
wnd.addEventListener "loadstart", (ev) ->
183183
return if ev.url.substr(0, 17) isnt "http://localhost/"

www/dist/oauth.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ module.exports = function(window, document, jQuery, navigator) {
224224
wnd.close();
225225
} catch (_error) {}
226226
}, 1200 * 1000);
227-
wnd = window.open(url, "_blank", 'location=no,toolbar=no');
227+
wnd = window.open(url, "_blank", 'location=no,clearsessioncache=yes,clearcache=yes');
228228
wnd.addEventListener("loadstart", function(ev) {
229229
var results;
230230
if (ev.url.substr(0, 17) !== "http://localhost/") {

www/dist/oauth.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

www/js/lib/oauth.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ module.exports = function(window, document, jQuery, navigator) {
215215
wnd.close();
216216
} catch (_error) {}
217217
}, 1200 * 1000);
218-
wnd = window.open(url, "_blank", 'location=no,toolbar=no');
218+
wnd = window.open(url, "_blank", 'location=no,clearsessioncache=yes,clearcache=yes');
219219
wnd.addEventListener("loadstart", function(ev) {
220220
var results;
221221
if (ev.url.substr(0, 17) !== "http://localhost/") {

0 commit comments

Comments
 (0)