=== Temporary Login by Softfix ===
Contributors: softfixorguser
Tags: temporary login, user login, expiring login, admin tool, time based login
Requires at least: 5.4
Tested up to: 6.8
Requires PHP: 7.2
Stable tag: 1.0.3
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: temporary-login-by-softfix

Securely share temporary login links without passwords. Ideal for clients, support, and one-time WordPress access.

== Description ==

**Temporary Login by Softfix** allows administrators to generate secure, expiring login links for temporary users.

Use it to give access to:
- Support personnel
- Guest admins or editors
- Client dashboards
- Short-term access without sharing passwords

**Features:**
- Auto-generated temporary user with unique login URL
- Expiration control (in minutes)
- Auto-deletion of expired accounts (via WP Cron)
- Admin page to generate links
- Logs login activity (time, user ID, event)

**Security:**
- One-time use URLs
- Token-based login
- Full nonce and sanitization support
- Compliant with WordPress coding standards

== Installation ==

1. Upload the plugin folder `temporary-login` to the `/wp-content/plugins/` directory.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Navigate to **Users > Temporary Login** to generate a new login link.

== Screenshots ==

1. Admin UI to generate temporary login link.
2. List of recent login activity logs.

== FAQ ==

= Does this plugin create a real WordPress user? =
Yes, a temporary user is created and automatically deleted after expiration.

= Can I send the login link via email? =
The current version displays the link. You can copy it manually. Email support may be added in a future release.

= What roles are assigned to temporary users? =
Currently, the default role is `subscriber`. Future versions will allow role selection.

= How does cleanup work? =
Expired users are automatically deleted every hour via WordPress' scheduled tasks.

= Is this secure? =
Yes, all login links use hashed tokens, and users are deleted after expiration. Nonces and input sanitization are enforced in the admin interface.

== Changelog ==

= 1.0.3 =
* Design Fixes

= 1.0.1 =
* Fixes
* Design changes

= 1.0 =
* Initial release
* Temporary login generator with expiration
* Auto login via token link
* Admin UI with logs
* Secure cron-based cleanup

== Upgrade Notice ==

= 1.0 =
First release – create expiring secure login links for temporary users.

== Future Features ==
- Email notifications to temp users
- Role selection for temp accounts
- Shortcode support
- API endpoint for programmatic generation
