You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-08-09 04:22:45 +03:00
OIDC account linking and login
This commit is contained in:
@@ -95,7 +95,9 @@ impl<K> SessionInfoExt for PrivateCookieJar<K> {
|
||||
}
|
||||
|
||||
fn update_session_info(self, info: &SessionInfo) -> Self {
|
||||
let cookie = Cookie::new("session", "");
|
||||
let mut cookie = Cookie::new("session", "");
|
||||
cookie.set_path("/");
|
||||
cookie.set_http_only(true);
|
||||
let cookie = cookie.encode(&info);
|
||||
self.add(cookie)
|
||||
}
|
||||
|
Reference in New Issue
Block a user