Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

This module adds face recognition for user login and registration in Drupal. It securely stores face data as encrypted numeric embeddings rather than photos, allowing users to log in or sign up using their faces.

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.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Jun 2026
Latest release
2 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

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