Skip to content
Snippets Groups Projects
Commit 32a4ded4 authored by Timo Kösters's avatar Timo Kösters
Browse files

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

Reduce length of generated access tokens and session ids

See merge request famedly/conduit!386
parents e3dabdf5 b59304a4
No related branches found
No related tags found
No related merge requests found
...@@ -63,6 +63,6 @@ ...@@ -63,6 +63,6 @@
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;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment