Skip to content

Commit

Permalink
make login_cookie non-private
Browse files Browse the repository at this point in the history
  • Loading branch information
JimmyToor committed Nov 24, 2024
1 parent b971079 commit f3714f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/api/auth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ fn login_pre(cookies: &CookieJar<'_>, oauth: &State<BasicClient>) -> Result<Redi
println!("#login_pro: login_cookie: {} ", login_cookie.value());

// Place the csrf token and pkce verifier as secure cookies on the client, expiring in 5 minutes
cookies.add_private(
cookies.add(
login_cookie
);

Expand Down

0 comments on commit f3714f4

Please sign in to comment.