mirror of
https://github.com/lldap/lldap.git
synced 2026-04-25 08:15:52 +03:00
[GH-ISSUE #514] Pass configuration to frontend #187
Labels
No labels
backend
blocked
bug
cleanup
dependencies
docker
documentation
duplicate
enhancement
enhancement
frontend
github_actions
good first issue
help wanted
help wanted
integration
invalid
ldap
pull-request
question
rust
rust
tests
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/lldap-lldap#187
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @pixelrazor on GitHub (Mar 29, 2023).
Original GitHub issue: https://github.com/lldap/lldap/issues/514
Currently, the frontend has no knowledge of the config. This leads to awkward things such as probing the backend to determine if password reset is enabled. Frontend configuration would also help solve #400, #247, and maybe #352
A proposed idea is to use the main.js file as a template, fill it in with a static json config object, and use that in the frontend (either passing it in to the main function, or using wasm_bindgen). A basic template should be good
@nitnelave commented on GitHub (Oct 30, 2024):
That or query a /settings endpoint returning a json. It might be simpler.