You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-11-23 11:02:35 +03:00
Database refactoring
This commit is contained in:
@@ -20,13 +20,14 @@ use mas_storage::{
|
||||
};
|
||||
use serde::{Deserialize, Serialize};
|
||||
use sqlx::{Executor, Postgres};
|
||||
use ulid::Ulid;
|
||||
|
||||
use crate::CookieExt;
|
||||
|
||||
/// An encrypted cookie to save the session ID
|
||||
#[derive(Serialize, Deserialize, Debug, Default)]
|
||||
pub struct SessionInfo {
|
||||
current: Option<i64>,
|
||||
current: Option<Ulid>,
|
||||
}
|
||||
|
||||
impl SessionInfo {
|
||||
|
||||
Reference in New Issue
Block a user