Changeset 3108848
- Timestamp:
- 06/27/2024 03:59:37 PM (21 months ago)
- Location:
- create-temporary-login/trunk
- Files:
-
- 3 edited
-
create-temporary-login.php (modified) (2 diffs)
-
includes/class-admin.php (modified) (5 diffs)
-
readme.txt (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
create-temporary-login/trunk/create-temporary-login.php
r3095291 r3108848 1 1 <?php 2 2 /* 3 Plugin Name: WP Bifröst - CreatePasswordless Temporary Login Links3 Plugin Name: WP Bifröst - Instant Passwordless Temporary Login Links 4 4 Plugin URI: https://wordpress.org/plugins/create-temporary-login 5 5 Description: Create passwordless temporary login links to easily give access to your site's dashboard. 6 Version: 1.0. 36 Version: 1.0.4 7 7 Author: Hakik Zaman 8 8 Author URI: https://profiles.wordpress.org/users/hakik … … 21 21 */ 22 22 if ( ! defined( 'CTLAZ_TEMP_LOGIN_VERSION' ) ) { 23 define( 'CTLAZ_TEMP_LOGIN_VERSION', '1.0. 3' );23 define( 'CTLAZ_TEMP_LOGIN_VERSION', '1.0.4' ); 24 24 } 25 25 -
create-temporary-login/trunk/includes/class-admin.php
r3095291 r3108848 100 100 public function create_temporary_login(){ 101 101 102 echo "<h1>".esc_html__( 'WP Bifröst - Settings ( CreatePasswordless Temporary Login Links)', 'create-temporary-login' )."</h1>";102 echo "<h1>".esc_html__( 'WP Bifröst - Settings (Instant Passwordless Temporary Login Links)', 'create-temporary-login' )."</h1>"; 103 103 $other_attributes = array( 'tabindex' => '1' ); 104 104 submit_button( __( 'Generate a link', 'create-temporary-login' ), 'secondary ctl_generate_link', '', true, $other_attributes ); … … 153 153 ctlaz_create_temporary_login()->get_option()->is_user_expired( $user->ID ) ? 'ctl-danger' : '', 154 154 // 9. Hide extend button if not expired 155 !ctlaz_create_temporary_login()->get_option()->is_user_expired( $user->ID ) ? 'ctl-display-none' : '', 155 // !ctlaz_create_temporary_login()->get_option()->is_user_expired( $user->ID ) ? 'ctl-display-none' : '', 156 '', 156 157 // 10. Tooltip text 157 158 esc_html__( 'Click to Copy!', 'create-temporary-login' ) … … 235 236 * Adding settings menu to the plugin list page 236 237 * 237 * @param <type>$links The links238 * 239 * @return <type> ( description_of_the_return_value )238 * @param array $links The links 239 * 240 * @return array ( Array of the link to display in plugin list page under the plugin name ) 240 241 */ 241 242 public function login_settings_link($links) { … … 259 260 * Disallow the user to reset password after loggedout 260 261 * 261 * @param bool $allow The allow262 * @param <type>$user_ID The user id263 * 264 * @return bool ( description_of_the_return_value)262 * @param bool $allow The allow 263 * @param int $user_ID The user id 264 * 265 * @return bool ( Checking whether a temporary user admin or main admin ) 265 266 */ 266 267 public function disallow_password_reset( $allow, $user_ID ){ … … 276 277 * Disallow Temporary Users to direct login to the site 277 278 * 278 * @param \ $userThe user279 * 280 * @return \ ( description_of_the_return_value)279 * @param object The user 280 * 281 * @return void ( Sending an error to display for direct login attempt by temporary user ) 281 282 */ 282 283 public function disallow_temporary_user_login( $user ) { -
create-temporary-login/trunk/readme.txt
r3095291 r3108848 1 === WP Bifröst - CreatePasswordless Temporary Login Links ===1 === WP Bifröst - Instant Passwordless Temporary Login Links === 2 2 Contributors: Hakik 3 3 Tags: temporary login, passwordless login, temporary access, login … … 5 5 Requires at least: 6.2 6 6 Tested up to: 6.5 7 Stable tag: 1.0. 37 Stable tag: 1.0.4 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html 10 10 11 Create passwordless temporary login links to easily give access to your site's dashboard. 11 🔗️ Create passwordless temporary login links. Instantly ⚡️ 12 12 13 13 == Description == 14 14 15 WP Bifröst helps you create secure passwordless links that allow instant access to your WordPress dashboard.15 **WP Bifröst** is a WordPress plugin that helps create instant passwordless login links. Use those links to securely allow people temporary admin access to your WordPress site (dashboard). 16 16 17 === How to Create Passwordless Temporary Login Links? === 17 As WordPress site owners, we frequently give temporary admin access to people. Among many cases, giving temporary admin access to support engineers to troubleshoot an issue is prominent. In contrast with the default process of creating a user, **WP Bifröst** can instantly create a secure login link. 18 19 === How to Create Passwordless Temporary Login Links for WordPress === 20 21 The following video demonstrates creating a temporary login link for WordPress using **WP Bifröst**. 18 22 19 23 [youtube https://www.youtube.com/watch?v=jMTwoAtKlUk] … … 24 28 25 29 26 ## Features HIghlights:30 ## 🔐️ Feature Highlight of WP Bifröst 27 31 28 * Create passwordless instant login links for your WordPress site 29 * Delete a login link when there is no use for it 30 * Login links are valid for 7 days 31 * You can increase the validity for 3 days 32 🔑️ Instantly create passwordless temporary login links for WP. 33 34 🔑️ Remove/delete temporary login links anytime you want. 35 36 🔑️ By default, the temporary login links are valid for 7 days. 37 38 🔑️ You can increase the validity by 3 days for expired login links. 39 40 41 ## How does WP Bifröst work 42 43 You can create passwordless temporary login links after successfully installing **WP Bifröst** on your WordPress site. Like most WordPress plugins installation is very straightforward. Moreover, it does not require any additional configuration. 44 45 WP Bifröst adds its option as a sub-menu under the WordPress **User** menu. You can also quickly access the menu from the installed plugins section. Under the plugin name, there is a quick link called **Create Login Links**. Click on **Create Login Links** to access plugin settings. You can create temporary login links from here by clicking the Generate button. 46 47 By default, temporary login links are valid for 7 days. When the link expires after 7 days, you will find an option to extend the validity. You can extend validity for 3 days (you can keep repeating this process as long as necessary). 48 49 50 ## WP Bifröst prioritizes security 51 52 🔒️ Though we want to add ease to your workflow, site security is our top priority. As a result, we have coupled ease and security together. 53 54 🔒️ First, the temporary login link appends a cryptographically secure random byte stream. As a result, there is no pattern for people to predict/target. 55 56 🔒️ Second, the link expires in 7 days. So, even if you don’t remove a link, access to your dashboard will not work. 57 58 🔒️ On top of that, people who access your dashboard using the passwordless temporary login links, cannot access the **User** menu. As a result, they cannot create a new user or modify an existing user. 59 32 60 33 61 == Installation == … … 39 67 == Frequently Asked Questions == 40 68 69 = Why should I use WP Bifröst? = 70 **WP Bifröst** aims to add ease to your workflow by simplifying user creation on your WordPress site. To create a WordPress user, you must perform at least four steps. Those steps include setting a username, email address, password, and the user's role. 71 72 WP Bifröst simplifies the process and empowers you to create a passwordless login with a single click. 73 41 74 = What if I forget to revoke access? = 42 75 Not to worry. The URL is automatically disabled at the expiration time with no action needed on your part. 76 77 = Can I share a feature request? = 78 Yes, we appreciate your feedback and ideas. Please share your feature request here. 43 79 44 80 == Screenshots == … … 52 88 53 89 == Changelog == 90 91 = 1.0.4 = 92 * Update: Extend time for 3 days button is always visible now. 54 93 55 94 = 1.0.3 =
Note: See TracChangeset
for help on using the changeset viewer.