Add tokens routes
This commit is contained in:
@ -1,3 +1,8 @@
|
||||
//! # Project constants
|
||||
|
||||
/// Length of generated tokens
|
||||
pub const TOKENS_LEN: usize = 50;
|
||||
|
||||
/// Header used to authenticate API requests made using a token
|
||||
pub const API_TOKEN_HEADER: &str = "X-Auth-Token";
|
||||
|
||||
|
Reference in New Issue
Block a user