Login endpoint #20
@@ -82,7 +82,7 @@ pub mod endpoint {
|
||||
username: user.username,
|
||||
token: token_literal,
|
||||
token_type: String::from(token_stuff::TOKENTYPE),
|
||||
expiration: duration as i32,
|
||||
expiration: duration,
|
||||
}],
|
||||
}),
|
||||
)
|
||||
|
Reference in New Issue
Block a user