js/user.js: update cookie domain.

This commit is contained in:
Lucio Andrés Illanes Albornoz (arab, vxp) 2018-10-24 17:15:18 +02:00 committed by Lucio Andrés Illanes Albornoz
parent 449a186b8e
commit d9770b4f2b

View File

@ -57,7 +57,7 @@ var user = (function(){
if (!user.username.match(/^00/)) { if (!user.username.match(/^00/)) {
console.log("setting to " + username) console.log("setting to " + username)
} }
document.cookie = "imname="+username+";path=/;domain=.asdf.us;max-age=1086400" document.cookie = "imname="+username+";path=/;domain=.lucioillanes.de;max-age=1086400"
localStorage.setItem("im.name", username); localStorage.setItem("im.name", username);
} }