Plugin Directory

Changeset 3108848


Ignore:
Timestamp:
06/27/2024 03:59:37 PM (21 months ago)
Author:
Hakik
Message:

v1.0.4: Update: Extend time for 3 days button is always visible now.

Location:
create-temporary-login/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • create-temporary-login/trunk/create-temporary-login.php

    r3095291 r3108848  
    11<?php
    22/*
    3 Plugin Name:        WP Bifröst - Create Passwordless Temporary Login Links
     3Plugin Name:        WP Bifröst - Instant Passwordless Temporary Login Links
    44Plugin URI:         https://wordpress.org/plugins/create-temporary-login
    55Description:        Create passwordless temporary login links to easily give access to your site's dashboard.
    6 Version:            1.0.3
     6Version:            1.0.4
    77Author:             Hakik Zaman
    88Author URI:         https://profiles.wordpress.org/users/hakik 
     
    2121 */
    2222if ( ! defined( 'CTLAZ_TEMP_LOGIN_VERSION' ) ) {
    23     define( 'CTLAZ_TEMP_LOGIN_VERSION', '1.0.3' );
     23    define( 'CTLAZ_TEMP_LOGIN_VERSION', '1.0.4' );
    2424}
    2525
  • create-temporary-login/trunk/includes/class-admin.php

    r3095291 r3108848  
    100100    public function create_temporary_login(){
    101101
    102         echo "<h1>".esc_html__( 'WP Bifröst - Settings (Create Passwordless 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>";
    103103        $other_attributes = array( 'tabindex' => '1' );
    104104        submit_button( __( 'Generate a link', 'create-temporary-login' ), 'secondary ctl_generate_link', '', true, $other_attributes );
     
    153153                    ctlaz_create_temporary_login()->get_option()->is_user_expired( $user->ID ) ? 'ctl-danger' : '',
    154154                    // 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                    '',
    156157                    // 10. Tooltip text
    157158                    esc_html__( 'Click to Copy!', 'create-temporary-login' )
     
    235236     * Adding settings menu to the plugin list page
    236237     *
    237      * @param      <type>  $links  The links
    238      *
    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 )
    240241     */
    241242    public function login_settings_link($links) {
     
    259260     * Disallow the user to reset password after loggedout
    260261     *
    261      * @param      bool    $allow    The allow
    262      * @param      <type>  $user_ID  The user id
    263      *
    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 )
    265266     */
    266267    public function disallow_password_reset( $allow, $user_ID ){
     
    276277     * Disallow Temporary Users to direct login to the site
    277278     *
    278      * @param      \     $user   The user
    279      *
    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 )
    281282     */
    282283    public function disallow_temporary_user_login( $user ) {
  • create-temporary-login/trunk/readme.txt

    r3095291 r3108848  
    1 === WP Bifröst - Create Passwordless Temporary Login Links ===
     1=== WP Bifröst - Instant Passwordless Temporary Login Links ===
    22Contributors: Hakik
    33Tags: temporary login, passwordless login, temporary access, login
     
    55Requires at least: 6.2
    66Tested up to: 6.5
    7 Stable tag: 1.0.3
     7Stable tag: 1.0.4
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
    1010
    11 Create passwordless temporary login links to easily give access to your site's dashboard.
     11🔗️ Create passwordless temporary login links. Instantly ⚡️
    1212
    1313== Description ==
    1414
    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).
    1616
    17 === How to Create Passwordless Temporary Login Links? ===
     17As 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
     21The following video demonstrates creating a temporary login link for WordPress using **WP Bifröst**.
    1822
    1923[youtube https://www.youtube.com/watch?v=jMTwoAtKlUk]
     
    2428
    2529
    26 ## Features HIghlights:
     30## 🔐️ Feature Highlight of WP Bifröst
    2731
    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
     43You 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
     45WP 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
     47By 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
    3260
    3361== Installation ==
     
    3967== Frequently Asked Questions ==
    4068
     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
     72WP Bifröst simplifies the process and empowers you to create a passwordless login with a single click.
     73
    4174= What if I forget to revoke access? =
    4275Not 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? =
     78Yes, we appreciate your feedback and ideas. Please share your feature request here.
    4379
    4480== Screenshots ==
     
    5288
    5389== Changelog ==
     90
     91= 1.0.4 =
     92* Update: Extend time for 3 days button is always visible now.
    5493
    5594= 1.0.3 =
Note: See TracChangeset for help on using the changeset viewer.