Made rest of JwtConf fields public
parent
1ce6c47124
commit
a587660e72
|
@ -3,8 +3,8 @@ use serde::{Deserialize, Serialize};
|
||||||
#[derive(Debug, Deserialize, Serialize, Clone)]
|
#[derive(Debug, Deserialize, Serialize, Clone)]
|
||||||
pub struct JwtConf {
|
pub struct JwtConf {
|
||||||
pub key: String,
|
pub key: String,
|
||||||
refresh_token_size: usize,
|
pub refresh_token_size: usize,
|
||||||
refresh_token_expire: i64,
|
pub refresh_token_expire: i64,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Serialize)]
|
#[derive(Serialize)]
|
||||||
|
|
Loading…
Reference in New Issue