mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Trying to failsafe the crypto
This commit is contained in:
4
static/dist/main.min.js
vendored
4
static/dist/main.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -3,6 +3,12 @@ var Crypt = {
|
|||||||
conf_arr: {},
|
conf_arr: {},
|
||||||
|
|
||||||
init: function(){
|
init: function(){
|
||||||
|
if(localStorage["full_update"] == undefined)
|
||||||
|
{
|
||||||
|
document.cookie = chan.toLowerCase() + '=; path=/; expires=' + new Date(0).toUTCString();
|
||||||
|
document.cookie = chan.toLowerCase() + '=; path=/' + chan.toLowerCase() + '; expires=' + new Date(0).toUTCString();
|
||||||
|
localStorage["full_update"] = "25.01.2016";
|
||||||
|
}
|
||||||
try{
|
try{
|
||||||
conf_arr = Crypt.decrypt(Crypt.getCookie("_opt"), "_opt");
|
conf_arr = Crypt.decrypt(Crypt.getCookie("_opt"), "_opt");
|
||||||
}catch(err){
|
}catch(err){
|
||||||
|
|||||||
Reference in New Issue
Block a user