can't sign into mininq?????
This commit is contained in:
parent
2d348c2118
commit
b66d6e696f
1 changed files with 2 additions and 2 deletions
4
index.js
4
index.js
|
@ -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?");
|
||||
|
|
Loading…
Reference in a new issue