No description
Find a file
Kevin Keijzer 0c0c97cca5 Add CSS
2025-07-25 21:00:33 +02:00
css Add CSS 2025-07-25 21:00:33 +02:00
AUTHORS Add AUTHORS file 2025-03-04 10:43:32 +01:00
config.php.example Move config.php to config.php.example and update readme 2025-02-28 13:55:22 +01:00
db.php Initial commit 2024-05-17 18:02:39 +02:00
index.php Force a minimum of 16 characters for new passwords 2025-02-25 11:15:01 +01:00
LICENSE Change license to AGPLv3 2025-02-28 18:48:12 +01:00
README.md Change license to AGPLv3 2025-02-28 18:48:12 +01:00

Dovecot Password Change Web Application

This PHP application allows users to change their Dovecot e-mail passwords stored in MariaDB. It provides a simple interface for users to log in with their e-mail addresses and current passwords, and then change their passwords securely.

Features

  • User Authentication: Users can log in with their e-mail addresses and passwords.
  • Password Change: Authenticated users can change their passwords.
  • Session Management: Uses PHP sessions to manage user sessions.

Getting Started

  1. Clone this repository to your web server.
  2. Ensure you have a working setup of Dovecot and MariaDB.
  3. Copy config.php.example to config.php
  4. Configure the database connection details in config.php.
  5. Serve the PHP code using a web server (such as Apache or nginx with php-fpm).
  6. Make sure your web server does not allow access to config.php

Usage

  • Visit the application URL in your web browser.
  • Log in with your e-mail address and current password.
  • If logged in successfully, you can change your password on the same page.
  • After changing the password, you will be automatically logged out.

License

This project is licensed under the GNU Affero General Public License v3.0 or later. See the LICENSE file for details.