Making WordPress.org


Ignore:
Timestamp:
10/23/2019 06:09:31 AM (2 years ago)
Author:
dd32
Message:

Login: Add a link expired template, and redirect expierd links to that url.

See #4739.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/common/includes/wporg-sso/wp-plugin.php

    r9182 r9224  
    2020            'checkemail'   => '/checkemail',
    2121            'loggedout'    => '/loggedout',
    22             'lostpassword' => '/lostpassword',
     22            'lostpassword' => '/lostpassword(/(?P<user>[^/]+))?',
     23            'linkexpired'  => '/linkexpired(/(?P<reason>register|lostpassword)/(?P<user>[^/]+))?',
    2324            'oauth'        => '/oauth',
    2425        );
     
    154155
    155156                // Primary registration route.
    156                 $this->valid_sso_paths['register']         = '/register';
     157                $this->valid_sso_paths['register']         = '/register(/(?P<user>[^/]+))?';
    157158            }
    158159
Note: See TracChangeset for help on using the changeset viewer.