lucia-auth / lucia

Authentication, simple and clean
https://lucia-auth.com
MIT License
8.32k stars 447 forks source link

[Docs]: Astro passwort/username guide contain typo #1575

Closed skorphil closed 3 weeks ago

skorphil commented 1 month ago

Description

Here https://lucia-auth.com/tutorials/username-and-password/astro#:~:text=.attributes)%3B-,return%20Astro.redirect(%22/login%22)%3B,-%7D

seems like should be

- return Astro.redirect("/login");
+ return context.redirect("/login");
pilcrowOnPaper commented 3 weeks ago

Fixed with #1584