frontend: Generate random secret by default

This commit is contained in:
Lennart
2025-05-15 20:58:17 +02:00
parent 212274fce9
commit 0acc3c22d9
4 changed files with 15 additions and 16 deletions

View File

@@ -131,13 +131,10 @@ async fn main() -> Result<()> {
#[cfg(test)]
mod tests {
use crate::{
app::make_app, commands::generate_frontend_secret, config::NextcloudLoginConfig,
get_data_stores,
};
use crate::{app::make_app, config::NextcloudLoginConfig, get_data_stores};
use actix_web::{http::StatusCode, test::TestRequest};
use rustical_frontend::FrontendConfig;
use rustical_frontend::nextcloud_login::NextcloudFlows;
use rustical_frontend::{FrontendConfig, generate_frontend_secret};
use std::sync::Arc;
#[tokio::test]