LDAP Password Reset Flask App

A Flask web application that allows users to securely reset their LDAP password via email verification.

Flask LDAP Email

Project Overview

This project is a Flask web application that allows users to securely reset their LDAP password via email verification. Users enter their email, receive a verification code, and can then set a new password after verifying their identity.

Key Features

Email Reset Request

  • Users enter their email to request a password reset
  • A verification code is sent to the user's email

Identity Verification

  • Users enter the code to verify their identity
  • Users set a new password (LDAP integration required for actual password change)

Security

  • Strong password enforcement
  • Passwords need to match

Project Screenshots

Admin Users
Reset Password Main Page

Main Page to request a password reset

Password Reset
Verification Code Input

User interface for entering the verification code

Main App
Reset Password

Main interface for password resetting

Technical Details

Technology Stack

  • Python 3.8 or higher
  • Flask Web Framework
  • LDAP Integration
  • SMTP for email
  • Bootstrap UI Framework

Key Components

  • Flask-based routing and view management
  • LDAP authentication and password reset integration
  • SMTP email verification workflow
  • Jinja2 templating for dynamic HTML pages
  • Environment-based configuration with .env
  • Comprehensive logging and security checks