1
0
Fork 0
mirror of https://gitlab.com/famedly/conduit.git synced 2025-02-03 06:08:22 +03:00

Merge branch 'Nyaaori/reduce-generated-token-length' into 'next'

Reduce length of generated access tokens and session ids

See merge request 
This commit is contained in:
Timo Kösters 2022-11-21 20:02:20 +00:00
commit 32a4ded4a1

View file

@ -63,6 +63,6 @@ pub use user_directory::*;
pub use voip::*; pub use voip::*;
pub const DEVICE_ID_LENGTH: usize = 10; pub const DEVICE_ID_LENGTH: usize = 10;
pub const TOKEN_LENGTH: usize = 256; pub const TOKEN_LENGTH: usize = 32;
pub const SESSION_ID_LENGTH: usize = 256; pub const SESSION_ID_LENGTH: usize = 32;
pub const AUTO_GEN_PASSWORD_LENGTH: usize = 15; pub const AUTO_GEN_PASSWORD_LENGTH: usize = 15;