diff --git a/test/_authentication_common.ts b/test/_authentication_common.ts index 58d2e66..5bf2efc 100644 --- a/test/_authentication_common.ts +++ b/test/_authentication_common.ts @@ -71,14 +71,14 @@ export function authAppProvider(withUsername: boolean = true, approvalMode: bool const proof = await PasswordAuthProof.getProofForSession(req.getSession()); if (proof) res.sendStatus(200); else res.sendStatus(404); - }, 'is-auth'); + }, 'has-any-password-auth-proof'); this.get('/has-any-magic-link', async (req, res) => { const proofs = await MagicLink.select() .where('session_id', req.getSession().id) .get(); if (proofs.length > 0) res.sendStatus(200); else res.sendStatus(404); - }, 'is-auth'); + }, 'has-any-magic-link'); } }());