=== Temporary Login Without Password ===
Contributors: storeapps, icegram, niravmehta, malayladu, asmipatel, sandhyam, mansi shah
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=BMFRMVXQ87JWA&source=url
Tags: temporary access, developer access, passwordless login, magic pin, secure login
Requires at least: 3.0.1
Requires PHP: 5.3
Tested up to: 6.0.3
Stable tag: 1.8.1.1
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html

Create self-expiring, temporary admin accounts. Easily share direct login links (no need for username/password) with your developers or editors.

== Description ==

Create secure, self-expiring ⏱️, automatic login links 🔗 for WordPress. Give them to developers when they ask for admin access to your site. Or an editor for a quick review of work done. Login works just by opening the link, no password needed.

Using the "Temporary Login Without Password" plugin you can create a self-expiring account for someone and give them a special link with which they can login to your WordPress without needing a username and password.

You can choose when the login expires, as well as the role of the temporary account.

Really useful when you need to give admin access to a developer for support or for performing routine tasks.

Read [this article](https://www.storeapps.org/create-secure-login-without-password-for-wordpress/) to know more about what's the Current Problem – Creating a Separate Admin Login for Outsiders (Devs/ Guest bloggers) and how to avoid this pain, Top Benefits of using this plugin & Why and Who need Temporary Login links.

#### **Benefits of Temporary Logins**

> ➡️  Create unlimited temporary logins
> ➡️  Create temporary logins with any role
> ➡️  No username & password required. Login with just a simple link
> ➡️  Set account expiry. So, a temporary user can't login after the expiry time
> ➡️  Various expiration options like one day, one week, one month, and many more. Also, set a custom date
> ➡️  Redirect user to a specific page after login
> ➡️  Set a language for a temporary user
> ➡️  See the last logged in time of a temporary user
> ➡️  Also see, how many times a temporary user accessed your setup

#### **For Developers**

If you need an admin access to your client's WordPress setup to resolve any issues, use following template to ask your client to give you a temporary access to their WordPress setup.

> Hi {%customer_name%},
>
> To allow me to investigate on your site, install & activate the free WordPress plugin - [Temporary Login Without Password](https://wordpress.org/plugins/temporary-login-without-password/), and give me admin access to your site via the temporary link generated. Once I'll get the admin access, I'll check your site & will try to resolve the issue.
>
> **Note**:
> Keep the expiry of a temporary login link for one month. Send the created login link as a reply to this email.

#### What users have to say about Temporary Login Without Password?

👉 **It works with WordPress.com business plan!**
> I love this plugin! I got the impression that Temporary Login Without Password plugin would only work with WordPress.org sites. When I had a problem with another plugin, I reached out to their tech support. They recommended Temporary Login. I crossed my fingers, installed it, and it worked like a charm. No more worrying about possibly compromising my sites. When tech support was done, I went into the settings and revoked access. This is a game changer!
> - [Suzanne Loeb](https://wordpress.org/support/topic/it-works-with-wordpress-com-business-plan/)

👉 **Convenient. No rabbit holes**
> I can’t say I’ve used a whole bunch of these plugins, but I can say I’ve used 2 or 3. This one was the most straight forward and rushing through it I still didn’t run into any issues. The login was shot to the company I needed to let in and I was able to get back to marking things off of my checklist. Highly recommend to anyone that is needing to make a temporary user account for the first time. There’s literally nowhere to get confused from my personal experience
> - [Peter Higgins](https://wordpress.org/support/topic/convenient-no-rabbit-holes/)

👉 **Clear and efficient.**
> Clear and efficient. Nothing to add !
> Continue like that !
> Make the world of the web even more fun for all pro and amateur users!
> - [muten7](https://wordpress.org/support/topic/clear-and-efficient-2/)

👉 **Excellent Plugin**
> Having problems with another plugin the developer recommended TPWP. It does exactly as it states. The developer was able to identify the bug, done without comprising security. The fact it records the access you have granted is a another advantage.
> - [mickpamg](https://wordpress.org/support/topic/excellent-plugin-3772/)

👉 **A huge help and easy!**
> This plugin was just what I needed to make it easy for support people to come in and get their assessments done then I don’t have to worry about revoking permission…this takes care of that for me! Love it!!!
> - [bfauscette](https://wordpress.org/support/topic/a-huge-help-and-easy/)

Go to [Temporary Login Without Password plugin review section](https://wordpress.org/support/plugin/temporary-login-without-password/reviews/) and read our recent reviews.

**Spread The Love ❤️**

If you like Temporary Login Without Password, please leave a [five stars ⭐⭐⭐⭐⭐](https://wordpress.org/support/plugin/temporary-login-without-password/reviews/#new-post) and also spread the word about it via [Facebook](https://www.facebook.com/sharer.php?u=https://wordpress.org/plugins/temporary-login-without-password/) and [Twitter](https://twitter.com/intent/tweet?url=https://wordpress.org/plugins/temporary-login-without-password/). That helps fellow website owners assess Temporary Login Without Password easily and benefit from it!

**What's Next**

If you like this plugin then consider checking out our other solutions:

[Smart Manager](https://wordpress.org/plugins/smart-manager-for-wp-e-commerce/) - Manage & Bulk edit Products, Orders & more..

[Offermative](https://wordpress.org/plugins/offermative-discount-pricing-related-products-upsell-funnels-for-woocommerce/) - Dynamic discount pricing, related product recommendations, upsells and funnels for WooCommerce.

[Icegram](https://wordpress.org/plugins/icegram/) - Popups, Welcome Bar, Opt-ins & Lead Generation plugin

[Email Subscribers & Newsletters](https://wordpress.org/plugins/email-subscribers/) - A complete newsletter plugin which lets you collect leads, send automated new blog post notification emails, create & send broadcasts, and also manage them all in one single place.

[Rainmaker](https://wordpress.org/plugins/icegram-rainmaker/) - Best form plugin on WordPress

Also, check our other [Premium WooCommerce plugins.](https://www.storeapps.org/shop/?utm_source=wprepo&utm_medium=tlwp&utm_campaign=sa_products_upsell&utm_content=readme)

Do you use WooCommerce? Our analytics tool [Putler](https://www.putler.com/?utm_source=wprepo&utm_medium=tlwp&utm_campaign=putler_outreach&utm_content=readme) will help you enriches your store data. Using Putler, you’ll understand your business better and make profitable decisions quickly.


== Installation ==

Option 1:

1. Go to WordPress Dashboard. Locate Plugins -> Add New
2. Search **Temporary Login Without Password** plugin using the search option
3. Find the plugin and click Install Now button
4. After installation, click on the Activate Plugin link to activate the plugin.

Option 2:

1. Download the plugin [temporary-login-without-password.zip](https://downloads.wordpress.org/plugins/temporary-login-without-password.zip)
2. Go to WordPress Dashboard. Locate Plugins -> Add New
3. Click on the Upload Plugin link from the top
4. Upload the downloaded **temporary-login-without-password.zip** file and click on Install Now
5. After installation, click on the Activate Plugin link to activate the plugin.

== Frequently Asked Questions ==

= 1. Do I need a username & password to login using Temporary Login? =

No. Temporary Login Without Password plugin creates a temporary login link to login to WordPress. The user only have
to click on the temporary login link and they will automatically login to WordPress.

= 2. Can I disable the Temporary user manually? =

Yes, you can disable the temporary user manually.

= 3. Can I delete the temporary user?

Yes, you can delete a temporary user.

= 4. Can temporary user login with username & password?

No. temporary user can't login with username & password.

= 5. Can I convert a temporary user into a normal user?

No. at this moment it's not possible to do this.

= 6. Can I set a different language other than the default language for a temporary user?

Yes. Many times your support person doesn't speak the same language as you speak. So, it would be a good choice to create a temporary account for them and set their preferred language.

= 7. Is there any possibility to change the expiry range to minutes? =

There is no setting using which you can set the expiry range of temporary logins to minutes. But, you can set it to minutes using WordPress filters (programmatically). [Please refer to this thread](https://wordpress.org/support/topic/additional-expiry-option/).

= 8. If I give administrator access to a temporary login, will that person have the ability to delete other users (even other admins)? =

No. Temporary Users can't delete other users.

= 9. How to redirect temporary user to a specific page after login? =

You can select the page where you want to redirect your temporary user after login while creating a temporary login. Alternatively, you can use the "redirect_to" query string parameter to redirect them to other pages. [Please refer to this thread](https://wordpress.org/support/topic/redirect-user-after-login-2/).

= 10. Can I use a fake email address or my email address to generate a temporary login link for others? =

Yes, you can use a fake email address or your email address to generate temporary login links. But, we recommend using a valid email address of the person to whom you want to give temporary access. It will help you to track the activity of that person.

= 11. Does plugin delete all data after deleting the plugin? =

Yes, we have provided that option to delete the data on plugin delete. You can also keep the data if you wish to activate the plugin in the future.

= 12. We want to generate 10 temporary logins. Can we do that?

Yes. There is no limit to create temporary logins. You can create as many temporary logins as you wish.

== Screenshots ==

1. Create a new Temporary Login.
2. List of all (Active/Expired) Temporary Login.
3. Temporary Login settings panel.

== Upgrade Notice ==

= 1.8.1.1 =

* Update: Change in release version

== Changelog ==

**1.8.1.1 [2022-11-19]**

* Update: Change in release version

**1.8.1 [2022-11-19]**

* Update: Minor improvements

**1.8.0 [2022-10-21]**

* Update: WordPress 6.0.3 compatibility check
* Update: Minor improvements
* Update: POT file
* Fix: PHP Fatal error: Uncaught Error: Call to undefined function get_current_screen() in some cases

**1.7.6 [2022-09-14]**

* Update: WordPress 6.0.2 compatibility check

**1.7.5 [2022-08-16]**

* Fix: Fatal error: Uncaught Error: Class 'IG_Tracker_V_1_2_5' not found

**1.7.4 [2022-08-08]**

* Update: WordPress 6.0.1 compatibility check

**1.7.3 [2022-07-05]**

* Update: WordPress 6.0.0 compatibility check
* Fix: Prevent extra css from loading on non plugin page

**1.7.2 [2022-02-15]**

* Update: WordPress 5.9 compatibility check

**1.7.1 [2021-11-11]**

* Fix: Added capability check in Settings

**1.7.0 [2021-10-21]**

* Fix: Improved security related to nonce in Settings (Thanks to WPScan team)

**1.6.15 [2021-09-03]**

* Update: Improved security - better protection against brute force attacks and loopholes in other plugins (thanks to Zack Katz for suggestions)

**1.6.14 [2021-07-27]**

* Fix: User creation failed with non latin First Name or Last Name (Thanks [@gmspb](https://profiles.wordpress.org/gmspb/) for [reporting](https://wordpress.org/support/topic/name-in-latin-only/))
* Update: WordPress 5.8 compatibility check

**1.6.13 [2021-05-21]**

* New: Added option delete temporary login plugin data on plugin delete
* Update: Create username with lowercase letters
* Update: Improve settings screen UI
* Update: .POT files
* Fix: Internationalization issues. (Thanks [@yordansoares](https://profiles.wordpress.org/yordansoares/) for [reporting](https://wordpress.org/support/topic/internationalization-issues/))
* Fix: Blank page appear after settings saved.

**1.6.12 [2021-05-10]**

* Update: Confirm before delete temporary user

**1.6.11 [2021-04-08]**

* Update: PHP 8 compatibility check
* Fix: Deprecated: Required parameter $data follows optional parameter `$user_id` in `temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php on line 130`

**1.6.10 [2021-03-19]**

* New: Set default redirect after login option
* Update: Improve UI
* Update: .POT file

**1.6.9 [2021-03-10]**

* New: Added feature to redirect temporary user to a specific page after login
* Update: WordPress 5.7 compatibility

**1.6.8 [2021-03-05]**

* Update: Improve UI

**1.6.7 [2020-12-30]**

* Update: WordPress 5.6 compatibility check

**1.6.6 [2020-10-08]**

* Fix: Datepicker issue.

**1.6.5 [2020-09-28]**

* Update: WordPress 5.5.1 compatibility check

**1.6.4 [2020-08-17]**

* Update: Compatibility check with WordPress 5.5
* Fix: Deactivation checkbox is disabled for Administrator

**1.6.3 [2020-06-29]**

* Fix: Upgrade failed to notice while upgrading plugins through temporary login
* Update: Removed all unnecessary admin notices from the Temporary Login screen

**1.6.2 [2020-05-30]**

* New: Notify about Temporary Access in the admin bar

**1.6.1 [2020-04-11]**

* Update: Compatibility test with WordPress 5.4

**1.6.0 [2020-02-20]**

* New: Now, able to create a temporary login link that will expire on a specific time after access.
* Fix: Conflict of Sweetalert JS

**1.5.23 [2020-01-14]**

* Fix: Incorrect temporary Login URL shows up while using iThemes Security plugin with Custom URL Login enabled

**1.5.22 [2019-12-23]**

* Update: Compatibility test with WordPress 5.3.2

**1.5.21 [2019-11-04]**

* Update: Make it compatible with iThemes Security (formerly Better WP Security) plugin with Custom URL Login enabled

**1.5.20 [2019-09-09]**

* Update: Add Temporary Super Admin to all sites
* Fix: JS & CSS loading issue for WordPress Multi sites
* New: Added Italian translation. (Thanks [@alessioangeloro](https://profiles.wordpress.org/alessioangeloro/) for providing Italian translation)

**1.5.19.1 [2019-08-19]**

* Fix: Redirection issue with WordPress subdirectory installation.

**1.5.19 [2019-08-16]**

* Fix: "404 Not Found" issue after clicking on a temporary login link for WordPress subdirectory installation.

**1.5.18 [2019-07-29]**

* Fix: Browser console error

**1.5.17 [2019-06-17]**

* New: added "locale" support for a temporary user
* New: Show number of times the temporary user logged in via temporary login link
* Fix: CSS issue with Divi theme (Thanks [@lordsnake](https://wordpress.org/support/users/lordsnake/) for reporting)

**1.5.16 [2019-05-20]**

* Update: Compatibility test with WordPress 5.2
* Fix: Typo in the success message.

**1.5.15.2 [2019-04-17]**

* Update: Release Note.

**1.5.15.1 [2019-04-17]**

* Update: Minor update.

**1.5.15 [2019-03-08]**

* Fix: Redirection after login gives "404 error" error on sub-site of WordPress multi-site installation. (Thanks [@csigncsign](https://wordpress.org/support/users/csigncsign/) for reporting this.)

**1.5.14 [2019-01-14]**

* Update: Added System info page and allow the temporary user to access the system info page

**1.5.13 [2018-11-19]**

* Update: Now, temporary user can be redirected to any page without using redirect_to query params.

**1.5.12 [2018-10-24]**

* Fix: Temporary user redirected to the admin page even if the 'redirect_to' query param present once a user logged in with a temporary login link.

**1.5.11 [2018-10-08]**

* Update: Added filter for expiry_option. Now, one can add any custom expiry_option for the temporary login. [See example](https://wordpress.org/support/topic/additional-expiry-option/)

**1.5.10 [2018-09-12]**

* Fix: 'redirect_to' parameter in request didn't use for user redirection. Now, a temporary user will be redirected to the URL available in the 'redirect_to' parameter.

**1.5.9 [2018-07-25]**

* Update: Added settings to set default expiration time. Now, admin don't have to select expiry time from dropdown whenever they
create a new temporary login.

**1.5.8 [2018-04-25]**

* Fix: Format temporary login link email for Apple Mail. (Thanks to [@danielgm](https://wordpress.org/support/users/danielgm/))

**1.5.7 [2018-04-11]**

* Update: Added settings link on Plugins page
* Update: URL parameters sanitized as keys (Thanks to [@danielgm](https://wordpress.org/support/users/danielgm/))
* Update: Paste temporary login link directly into email
* Fix: Lock and delete icon not clickable (Thanks to [@danielgm](https://wordpress.org/support/users/danielgm/))

**1.5.6 [2018-03-14]**

* Fix: Datepicker doesn't show up when editing temporary login and select "custom date" value from expiry time dropdown

**1.5.5 [2018-03-05]**

* Update: Set default expiry time as a "Week" for new temporary login instead of an "Hour".
* Fix: PHP Warning: in_array() expects parameter 2 to be array, string given in temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php
* Fix: Existing temporary user's role is not available into roles dropdown while editing.

**1.5.4 [2018-02-20]**

* Fix: Invalid argument supplied for foreach() PHP Warning in class-wp-temporary-login-without-password-deactivator.php

**1.5.3 [2018-02-06]**

* Update: Now, admin can change the role and expiry of temporary login

**1.5.2 [2018-01-29]**

* Update: Now, admin can select roles from which they want to create a Temporary Login.
* Fix: Temporary User with 'administrator' role shows as a 'Super Admin' for WordPress single-site installation.

**1.5.1 [2018-01-19]**

* Fix: Parse error: syntax error, unexpected ‘[‘ (PHP < 5.4)

**1.5 [2018-01-08]**

* Update: Now, Temporary Login can be created for WordPress Multisite. Super Admin can create a temporary super admin for multi-site
* Update: Restrict Temporary user to delete other users.

**1.4.6 [2017-11-18]**

* Update: Now, admin can set the default role for temporary user from the settings panel

**1.4.5 [2017-11-13]**

* Update: Restrict temporary user to deactivate/delete Temporary Login Without Password plugin

**1.4.4 [2017-10-23]**

* Fix: Trying to load scripts from unauthorized sources error.

**1.4.3 [2017-08-04]**

* Fix: Localization issue

**1.4.2 [2017-06-28]**

* Fix: Uncaught Error: Call to undefined function wc_enqueue_js().

**1.4.1 [2017-06-23]**

* Update: Now, create a temporary login with a custom expiry date.

**1.4 [2016-09-07]**

* Added: Support for "Theme My Login" plugin. Now, a temporary user will be redirected to a page that is defined in the Theme My Login plugin.

**1.3 [2016-09-01]**

* Fix: Temporary users can log in with an email address. Now onwards, the temporary user is not able to login using username/email and password
* Fix: Temporary user was able to reset the password. Now onwards, they won't be able to reset the password.
* Update: Now, the role of a temporary user is a downgrade to "none" on deactivation of plugin and change to default on the reactivation of plugin

**1.2 [2016-09-01]**

* Fix: Temporary user can log in with username and password.

**1.1 [2016-08-05]**

* Fix: Temporary user redirected to login page instead of admin dashboard after successful login.

**1.0 [2016-08-04]**

* Initial Release
