can't sign into mininq?????

This commit is contained in:
MeowcaTheoRange 2024-09-01 16:51:54 -05:00
parent 2d348c2118
commit b66d6e696f

View file

@ -160,7 +160,7 @@ async function checkIsMtr(user, pass, cb) {
try {
let publicKeyWorks = await checkPublicKey({
skey: pass,
pkeyurl: `http://localhost:${process.env.PORT}/`
pkeyurl: process.env.VERIF_URL
});
return cb(null, publicKeyWorks);
@ -208,7 +208,7 @@ app.post('/mininq/mbox/r', async (req, res) => {
try {
let publicKeyWorks = await checkPublicKey({
skey: body.skey,
pkeyurl: `http://localhost:${process.env.PORT}/`
pkeyurl: process.env.VERIF_URL
});
if (!publicKeyWorks) return res.status(401).send("No?");