Allow to login with OIDC
This commit is contained in:
parent
f556fec3bb
commit
7a2ff7ad1d
12 changed files with 782 additions and 29 deletions
|
|
@ -9,8 +9,9 @@ pub struct Model {
|
|||
pub id: Uuid,
|
||||
#[sea_orm(unique)]
|
||||
pub name: String,
|
||||
#[sea_orm(column_type = "Binary(BlobSize::Blob(None))")]
|
||||
pub password: Vec<u8>,
|
||||
#[sea_orm(column_type = "Binary(BlobSize::Blob(None))", nullable)]
|
||||
pub password: Option<Vec<u8>>,
|
||||
pub open_id_subject: Option<String>,
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone, Debug, EnumIter, DeriveRelation)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue