add beta alternative login

This commit is contained in:
Mystikfluu
2022-10-04 22:12:53 +02:00
parent efcded8816
commit e4cb60b0a3
2 changed files with 8 additions and 2 deletions
+3 -1
View File
@@ -13,7 +13,9 @@ function unsign(text, req, res) {
let ip = getIP(req);
let unsigned = signature.unsign(text, cookiesecret + ip);
if (!unsigned) {
return false;
unsigned = signature.unsign(text, cookiesecret); //unsafe login?
if(!unsigned)return false;
return unsigned
}
return unsigned;
}