mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 17:19:15 +08:00
feat(users): Implemented Set-Cookie (#3865)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -68,6 +68,8 @@ pub const LOCKER_REDIS_EXPIRY_SECONDS: u32 = 60 * 15; // 15 minutes
|
||||
|
||||
pub const JWT_TOKEN_TIME_IN_SECS: u64 = 60 * 60 * 24 * 2; // 2 days
|
||||
|
||||
pub const JWT_TOKEN_COOKIE_NAME: &str = "login_token";
|
||||
|
||||
pub const USER_BLACKLIST_PREFIX: &str = "BU_";
|
||||
|
||||
pub const ROLE_BLACKLIST_PREFIX: &str = "BR_";
|
||||
|
||||
Reference in New Issue
Block a user