forked from pluginpizza/automatic-login
-
Notifications
You must be signed in to change notification settings - Fork 0
/
readme.txt
62 lines (38 loc) · 2.62 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
=== Automatic Login ===
Contributors: functionsfile, barryceelen
Tags: autologin, admin, login, local
Requires at least: 5.5.1
Tested up to: 6.1
Stable tag: 1.0.0
License: GPLv3+
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Log in automatically on your locally hosted WordPress install.
== Description ==
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.
### WP Snapshots
The 'wpsnapshots' user name is automatically recognized for folks using 10up's [WP Snapshots](https://github.com/10up/wpsnapshots) project sharing tool.
### Bug Reports
Do you want to report a bug or suggest a feature for Automatic Login? Best to do so in the Automatic Login [repository on GitHub](https://github.com/functionsfile/automatic-login/).
== Installation ==
Starting with Automatic Login on your locally hosted WordPress site consists of the following steps:
- Install and activate the plugin.
- Define the `WP_ENVIRONMENT_TYPE` constant as 'local'.
- Create a user with the user name 'admin' and password 'password'. Note that Automatic Login is intended for local development environments. Do not create these login credentials on publicly accessible sites!
Alternatively, the `AUTOMATIC_LOGIN_USER_LOGIN` and `AUTOMATIC_LOGIN_USER_PASSWORD` constants can be used to define the login credenitals for Automatic Login. Note that Automatic Login does not create a user for you and the user should already exist.
### WP Snapshots
The 'wpsnapshots' username is automatically recognized for folks using 10up's [WP Snapshots](https://github.com/10up/wpsnapshots) project sharing tool.
### Install Automatic Login from within WordPress
1. Visit the Plugins page within your dashboard and select ‘Add New’
1. Search for ‘Automatic Login'
1. Activate Automatic Login from your Plugins page
### Install Automatic Login manually
1. Upload the ‘automatic-login’ folder to the /wp-content/plugins/ directory
1. Activate the Automatic Login plugin through the ‘Plugins’ menu in WordPress
Automatic Login contains a `GitHub Plugin URI` plugin header to support updates via the [Git Updater](https://git-updater.com/) plugin.
== Changelog ==
= 1.0 =
Release Date: February 11, 2023
- Initial release.