Token create #17
@@ -24,8 +24,6 @@ pub struct LoginResult {
|
|||||||
// Alias for LoginResult
|
// Alias for LoginResult
|
||||||
pub type Login = LoginResult;
|
pub type Login = LoginResult;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
pub fn get_issued() -> time::Result<time::OffsetDateTime> {
|
pub fn get_issued() -> time::Result<time::OffsetDateTime> {
|
||||||
Ok(time::OffsetDateTime::now_utc())
|
Ok(time::OffsetDateTime::now_utc())
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user