Letmein

Component ID

1928032

Component name

Letmein

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

424

Component created

Component changed

Component body

Letmein is a module that allows any user to log in without a password.

It works by replacing the password verification step with a function that simply verifies that the supplied username exists. If it does, and the user isn't blocked, the user will get logged in.

Use cases

This module shouldn't really be used unless you have a special use case. That's why it requires Bad judgement. But here are some different use cases:

  • Skip the annoying process of finding the password for user 1 if you've just downloaded the production database to a local development environment.
  • Allow someone to test the site as a logged in user before the site is actually lauched.

The module is also very useful in combination with an environment switching module such as Tadaa!, in order to automatically enable it in development, but disable it in production.

Feel free to inspire others by submitting your own use case.

Module sponsored by Odd Hill