[PR #80] [MERGED] Add support for resetting your password by email #532

Closed
opened 2026-02-27 08:17:53 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/lldap/lldap/pull/80
Author: @nitnelave
Created: 11/18/2021
Status: Merged
Merged: 11/22/2021
Merged by: @nitnelave

Base: mainHead: mail


📝 Commits (10+)

  • cebbefc server: Add lettre dependency to handle emails
  • 808f0f4 configuration: move default values inline
  • 24790ea server: improve error messages
  • 2d7e85d configuration: Add smtp config values.
  • 5328e33 cli: Add a "send test email" command
  • ca576ad misc: Forbid non-ascii identifiers
  • 9135651 server: Load config for both run and mail
  • bbcd028 gitignore: Prevent adding .env to git
  • 67f3e01 server: Send an email with the test command
  • 1f761af server: Prevent passwords and secrets from being printed

📊 Changes

37 files changed (+1666 additions, -385 deletions)

View changed files

📝 .dockerignore (+4 -1)
.github/workflows/docker.yml (+63 -0)
📝 .gitignore (+4 -0)
📝 Cargo.lock (+159 -41)
📝 Dockerfile (+17 -18)
📝 README.md (+107 -108)
📝 app/Cargo.toml (+1 -1)
📝 app/src/components/app.rs (+54 -35)
📝 app/src/components/login.rs (+13 -4)
📝 app/src/components/mod.rs (+2 -0)
app/src/components/reset_password_step1.rs (+140 -0)
app/src/components/reset_password_step2.rs (+232 -0)
📝 app/src/components/router.rs (+4 -0)
📝 app/src/infra/api.rs (+24 -0)
📝 app/src/lib.rs (+1 -0)
architecture.md (+84 -0)
📝 auth/Cargo.toml (+2 -19)
📝 auth/src/lib.rs (+1 -0)
📝 lldap_config.docker_template.toml (+25 -0)
prepare-release.sh (+25 -0)

...and 17 more files

📄 Description

This implements password reset functionality without relying on a third-party server & LDAP.

WIP


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/lldap/lldap/pull/80 **Author:** [@nitnelave](https://github.com/nitnelave) **Created:** 11/18/2021 **Status:** ✅ Merged **Merged:** 11/22/2021 **Merged by:** [@nitnelave](https://github.com/nitnelave) **Base:** `main` ← **Head:** `mail` --- ### 📝 Commits (10+) - [`cebbefc`](https://github.com/lldap/lldap/commit/cebbefc6f84e511120d277dffd3311c8d0fe41ed) server: Add lettre dependency to handle emails - [`808f0f4`](https://github.com/lldap/lldap/commit/808f0f446933db4faa7593344201184ddcd31e3e) configuration: move default values inline - [`24790ea`](https://github.com/lldap/lldap/commit/24790ea8ca9871b1432bc85230ce3ff4e91aaa87) server: improve error messages - [`2d7e85d`](https://github.com/lldap/lldap/commit/2d7e85d746c93a5e483bc2e1864cc7a6710495d2) configuration: Add smtp config values. - [`5328e33`](https://github.com/lldap/lldap/commit/5328e33c7f4835f80c09ad3bf842a8e90754b37a) cli: Add a "send test email" command - [`ca576ad`](https://github.com/lldap/lldap/commit/ca576ad605515e8a8710b923435057ea1bafb1f0) misc: Forbid non-ascii identifiers - [`9135651`](https://github.com/lldap/lldap/commit/91356510e4988bb98ade3285a469f08748ecadc7) server: Load config for both run and mail - [`bbcd028`](https://github.com/lldap/lldap/commit/bbcd0288cf0c61dad74e77dae43d013a32aeee72) gitignore: Prevent adding .env to git - [`67f3e01`](https://github.com/lldap/lldap/commit/67f3e0167a3a65b64b4f3d1e7b30b5ab8200e6ba) server: Send an email with the test command - [`1f761af`](https://github.com/lldap/lldap/commit/1f761af39e826dc2a3305dbf4dcc1da1bb4f2159) server: Prevent passwords and secrets from being printed ### 📊 Changes **37 files changed** (+1666 additions, -385 deletions) <details> <summary>View changed files</summary> 📝 `.dockerignore` (+4 -1) ➕ `.github/workflows/docker.yml` (+63 -0) 📝 `.gitignore` (+4 -0) 📝 `Cargo.lock` (+159 -41) 📝 `Dockerfile` (+17 -18) 📝 `README.md` (+107 -108) 📝 `app/Cargo.toml` (+1 -1) 📝 `app/src/components/app.rs` (+54 -35) 📝 `app/src/components/login.rs` (+13 -4) 📝 `app/src/components/mod.rs` (+2 -0) ➕ `app/src/components/reset_password_step1.rs` (+140 -0) ➕ `app/src/components/reset_password_step2.rs` (+232 -0) 📝 `app/src/components/router.rs` (+4 -0) 📝 `app/src/infra/api.rs` (+24 -0) 📝 `app/src/lib.rs` (+1 -0) ➕ `architecture.md` (+84 -0) 📝 `auth/Cargo.toml` (+2 -19) 📝 `auth/src/lib.rs` (+1 -0) 📝 `lldap_config.docker_template.toml` (+25 -0) ➕ `prepare-release.sh` (+25 -0) _...and 17 more files_ </details> ### 📄 Description This implements password reset functionality without relying on a third-party server & LDAP. WIP --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 08:17:53 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/lldap-lldap#532
No description provided.