app, server: Add an endpoint to fetch the frontend settings

This commit is contained in:
Valentin Tolmer
2025-03-30 23:08:42 +02:00
committed by nitnelave
parent ba93533790
commit 5afcdbda65
15 changed files with 86 additions and 30 deletions
+12
View File
@@ -0,0 +1,12 @@
[package]
authors = ["Valentin Tolmer <valentin@tolmer.fr"]
description = "Frontend options for LLDAP"
edition = "2024"
homepage = "https://github.com/lldap/lldap"
license = "GPL-3.0-only"
name = "lldap_frontend_options"
repository = "https://github.com/lldap/lldap"
version = "0.1.0"
[dependencies.serde]
workspace = true
+6
View File
@@ -0,0 +1,6 @@
use serde::{Deserialize, Serialize};
#[derive(Serialize, Deserialize)]
pub struct Options {
pub password_reset_enabled: bool,
}