fixes inverted refreshtoken logic
This commit is contained in:
parent
205ffa69ce
commit
8d2ed23522
|
@ -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({
|
||||
|
|
Loading…
Reference in New Issue