mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-13 21:42:34 +00:00
frontend: Generate random secret by default
This commit is contained in:
@@ -38,7 +38,7 @@ mod routes;
|
||||
pub const ROUTE_NAME_HOME: &str = "frontend_home";
|
||||
pub const ROUTE_USER_NAMED: &str = "frontend_user_named";
|
||||
|
||||
pub use config::FrontendConfig;
|
||||
pub use config::{FrontendConfig, generate_frontend_secret};
|
||||
|
||||
pub fn generate_app_token() -> String {
|
||||
rand::thread_rng()
|
||||
|
||||
Reference in New Issue
Block a user