fixes inverted refreshtoken logic

This commit is contained in:
nai-degen 2024-05-19 12:35:15 -05:00
parent 205ffa69ce
commit 8d2ed23522
1 changed files with 1 additions and 1 deletions

View File

@ -194,7 +194,7 @@ router.post("/challenge", (req, res) => {
}
if (action === "refresh") {
if (verifyTokenRefreshable(refreshToken, req.log)) {
if (!verifyTokenRefreshable(refreshToken, req.log)) {
res
.status(400)
.json({