stuff
Some checks are pending
Backend CI / test (push) Waiting to run
Backend CI / build (push) Blocked by required conditions
Deploy Mnemo Cards / Deploy Backend (push) Waiting to run
Deploy Mnemo Cards / Deploy Web App (push) Blocked by required conditions
Deploy Mnemo Cards / Final Verification (push) Blocked by required conditions
Some checks are pending
Backend CI / test (push) Waiting to run
Backend CI / build (push) Blocked by required conditions
Deploy Mnemo Cards / Deploy Backend (push) Waiting to run
Deploy Mnemo Cards / Deploy Web App (push) Blocked by required conditions
Deploy Mnemo Cards / Final Verification (push) Blocked by required conditions
This commit is contained in:
parent
20db3638a1
commit
aad1a51028
1 changed files with 1 additions and 0 deletions
|
|
@ -62,6 +62,7 @@ Middleware authorizeV2(UserManager userManager, JwtService jwtService) {
|
||||||
// Check for dynamic auth paths (e.g., /auth/telegram/code-status/<code>)
|
// Check for dynamic auth paths (e.g., /auth/telegram/code-status/<code>)
|
||||||
if (normalizedPath.startsWith('/auth/telegram/code-status') ||
|
if (normalizedPath.startsWith('/auth/telegram/code-status') ||
|
||||||
normalizedPath.startsWith('/admin/auth/request-code') ||
|
normalizedPath.startsWith('/admin/auth/request-code') ||
|
||||||
|
normalizedPath.startsWith('/admin/auth/code-status') ||
|
||||||
normalizedPath.startsWith('/admin/auth/verify-code')) {
|
normalizedPath.startsWith('/admin/auth/verify-code')) {
|
||||||
// Code status endpoint is public (used before authentication)
|
// Code status endpoint is public (used before authentication)
|
||||||
return await innerHandler(request);
|
return await innerHandler(request);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue