Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Magic Code

Security covered Under active development 23 sites

This module adds a "Magic Code" verification method, allowing users to confirm operations or log in using short, manually typed codes. It handles the creation, verification, and invalidation of these codes, with features like a backend UI, flood control for brute-force prevention, and token support for email templates.

The Magic Code Drupal module integrates with the Verification API and adds a VerificationProvider that handles verification via so-called Magic Codes (short, alphanumeric codes that the user may also type manually).

Motivation

Using magic codes for verification (e.g. like Slack does it) is a popular and convenient way for users to verify a given operation or a passwordless login.

This module handles the creation, verification, and invalidation of those codes.

Features

  • Magic-Code management with Backend UI
  • Flood control (Anti-Brute-Force)
  • Tokens for User-E-Mail Templates
Drupal 10–11

Ask your assistant about Magic Code

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
13
Tracked since
Apr 2023
Latest release
11 months ago
Releases (12 mo)
2 ▼ from 7
Maintenance
Slowing

Release Timeline

Releases

Version Type Core PHP Release date
2.1.0 Stable 10–11 Nov 3, 2025
2.0.0 Stable 10–11 Nov 3, 2025
2.0.0-rc6 Pre-release 10–11 Jun 2, 2025
2.0.0-rc5 Pre-release 10–11 May 30, 2025
2.0.0-rc4 Pre-release 10–11 Jan 20, 2025
2.0.0-rc3 Pre-release 10–11 Dec 16, 2024
2.0.0-rc2 Pre-release 10–11 Dec 16, 2024
2.0.0-rc1 Pre-release 10–11 Dec 16, 2024
2.x-dev Dev 10–11 Dec 11, 2024
1.0.0-beta3 Pre-release 9–10 PHP >=8.1 Feb 19, 2024