Skip to content

Commit

Permalink
[Authentification] Correction de l'affichage admin sur /light (#2621)
Browse files Browse the repository at this point in the history
## Linked issues


----

- [ ] Tests E2E (Cypress)
  • Loading branch information
louptheron authored Oct 18, 2023
2 parents a8dac34 + 8104408 commit 680c6dd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export function useGetUserAuthorization(): UserAuthorization | undefined {
* This is used to have backward compatibility with the Apache .htacess authentication (on `/` and `/ext`) while the authentication
* is not yet activated, as the app is only protected by the entrypoint path.
*/
const isExtPage = window.location.pathname === '/ext' || window.location.pathname === '/nav'
const isExtPage = window.location.pathname === '/ext' || window.location.pathname === '/light'

setUserAuthorization({
isLogged: true,
Expand Down

0 comments on commit 680c6dd

Please sign in to comment.