Skip to content

Log in automatically on your locally hosted WordPress install.

Notifications You must be signed in to change notification settings

araeubig/automatic-login

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Automatic Login WordPress Plugin

Developers rejoice! Automatic Login logs you in automatically on your local development installation if the following conditions are met:

  • The WP_ENVIRONMENT_TYPE constant is defined as 'local'.
  • A user exists with the username 'admin' and password 'password'.

Alternatively, the AUTOMATIC_LOGIN_USER_LOGIN and AUTOMATIC_LOGIN_USER_PASSWORD constants can be used to define the login credentials for Automatic Login. Note that Automatic Login does not create a user for you and the user should already exist.

// Credentials for the Automatic Login plugin.
define( 'AUTOMATIC_LOGIN_USER_LOGIN', 'mycooluser' );
define( 'AUTOMATIC_LOGIN_USER_LOGIN', 'mycoolpassword' );

Installation

Automatic Login is hosted on the WordPress plugin directory and can be installed via the WordPress dashboard.

  1. Visit the Plugins page within your WordPress dashboard and select ‘Add New’
  2. Search for 'Automatic Login' and install the plugin
  3. Activate Automatic Login from your Plugins page

Composer

Automatic Login can be added as a dependency to your project via the wpackagist composer repository.

WP Snapshots

The 'wpsnapshots' user name is automatically recognized for folks using 10up's WP Snapshots project sharing tool.

About

Log in automatically on your locally hosted WordPress install.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%