mirror of
https://github.com/OSMA-D/osma-server.git
synced 2024-11-05 21:24:02 +03:00
feat: Jwt expiration (OS-3)
This commit is contained in:
parent
c1124f0941
commit
8baf0576e8
1 changed files with 5 additions and 0 deletions
|
@ -15,3 +15,8 @@ pub struct User {
|
|||
pub password: String,
|
||||
pub email: String,
|
||||
}
|
||||
pub struct JwtInfo {
|
||||
pub name: String,
|
||||
pub role: String,
|
||||
pub exp: i64,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue