feat: gestion-utilisateur (#1)
All checks were successful
Build Docker Image Front / run (push) Successful in 24s
Build Docker Image Back / run (push) Successful in 21s

Reviewed-on: #1
Co-authored-by: Clement <c.boesmier@aptatio.com>
Co-committed-by: Clement <c.boesmier@aptatio.com>
This commit is contained in:
2024-05-20 12:48:34 +02:00
committed by Clement
parent 0c85df498e
commit 57a57c63ff
23 changed files with 2273 additions and 732 deletions

View File

@ -0,0 +1,13 @@
---
import PocketBase from 'pocketbase'
const pb = Astro.locals.pb
if(pb.authStore.isValid){
pb.authStore.clear()
}
return Astro.redirect('/account/login')
---