Skip to content

Commit c7f14a7

Browse files
committed
Changed persistent session cookie name to Host-auth.
1 parent 7c533b1 commit c7f14a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/controllers/user/session.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ use crate::util::token::SecureToken;
1515
use crate::Env;
1616

1717
/// Name of the cookie used for session-based authentication.
18-
pub const SESSION_COOKIE_NAME: &str = "crates_auth";
18+
pub const SESSION_COOKIE_NAME: &str = "__Host-auth";
1919

2020
/// Creates a session cookie with the given token.
2121
pub fn session_cookie(token: &NewSecureToken, secure: bool) -> Cookie<'static> {

0 commit comments

Comments
 (0)