weitzman / logintrait
Provides login/logout via user reset URL instead of forms.
Installs: 174 266
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Forks: 3
Type:drupal-dtt
pkg:composer/weitzman/logintrait
Requires (Dev)
This package is auto-updated.
Last update: 2025-09-22 16:52:39 UTC
README
This project is no longer needed if you are using DTT 2.4.3+.
Introduction
An add-on for Drupal Test Traits. Provides logout via user reset URL instead of forms. Useful when TFA/SAML are enabled. This project used to also provide a drupalLogin() implementation but that is longer needed as we got it into Drupal core in 10.3+. See https://www.drupal.org/project/drupal/issues/3469309.
Installation
- Install via Composer.
composer require weitzman/logintrait
.
Usage
- Use this trait whenever your test wants to login. See ExampleLoginTest.
Colophon
- Author: Created by Moshe Weitzman.
- License: Licensed under the MIT license