We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Host-auth
1 parent 7c533b1 commit c7f14a7Copy full SHA for c7f14a7
src/controllers/user/session.rs
@@ -15,7 +15,7 @@ use crate::util::token::SecureToken;
15
use crate::Env;
16
17
/// Name of the cookie used for session-based authentication.
18
-pub const SESSION_COOKIE_NAME: &str = "crates_auth";
+pub const SESSION_COOKIE_NAME: &str = "__Host-auth";
19
20
/// Creates a session cookie with the given token.
21
pub fn session_cookie(token: &NewSecureToken, secure: bool) -> Cookie<'static> {
0 commit comments