Drupal is a registered trademark of Dries Buytaert
cms 2.1.3 Update released for Drupal core (2.1.3)! drupal 10.5.11 Update released for Drupal core (10.5.11)! drupal 11.3.11 Update released for Drupal core (11.3.11)! drupal 11.2.13 Update released for Drupal core (11.2.13)! drupal 10.6.10 Update released for Drupal core (10.6.10)! cms 2.1.2 Update released for Drupal core (2.1.2)! drupal 11.1.10 Update released for Drupal core (11.1.10)! drupal 10.5.10 Update released for Drupal core (10.5.10)! drupal 10.4.10 Update released for Drupal core (10.4.10)! drupal 11.2.12 Update released for Drupal core (11.2.12)! drupal 11.3.10 Update released for Drupal core (11.3.10)! drupal 10.6.9 Update released for Drupal core (10.6.9)! drupal 10.6.8 Update released for Drupal core (10.6.8)! drupal 11.3.9 Update released for Drupal core (11.3.9)! drupal 11.3.8 Update released for Drupal core (11.3.8)! drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)!

ai_face_login

No security coverage
View on drupal.org

Provides optional face recognition based login and registration for Drupal 11.
Face descriptors are encrypted at rest with AES-256-CBC. No photos are ever
stored — only a 128-float numeric embedding.

Requirements

- Drupal 11
- PHP `openssl` extension
- Drush (for downloading required assets)
- A configured private files directory (strongly recommended)

Installation

1. Require the module
composer require drupal/ai_face_login

2. Enable the module
drush en ai_face_login

3. Download required assets
drush ai-face-login:download-assets

4. Rebuild caches
drush cr

Configuration

Navigate to **Administration → Configuration → People → AI Face Login**
(`/admin/config/people/ai-face-login`) to configure:

- **Similarity threshold** — Euclidean distance between face descriptors.
Lower values are stricter. Default: `0.4`.
- **Brute-force protection** — Maximum verification attempts and time window
per IP address.

Registering a face

1. Log in with your standard username and password.
2. Go to your user profile page.
3. Click "Register Face" and follow the on-screen instructions.
4. Allow camera access when prompted and click "Capture & Register".

Logging in with face

1. Go to the login page (`/user/login`) and click "Login with Face",
or navigate directly to `/ai-face/login-face`.
2. Enter your username or email address.
3. Click "Capture & Login" and allow camera access.

Activity

Total releases
1
First release
Jun 2026
Latest release
1 day ago
Release cadence
Stability
0% stable

Releases

Version Type Release date
1.0.0-alpha1 Pre-release Jun 1, 2026