Changeset 9146 for sites/trunk/common/includes/wporg-sso/wp-plugin.php
- Timestamp:
- 09/23/2019 03:52:23 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/common/includes/wporg-sso/wp-plugin.php
r7695 r9146 145 145 // Extend registration paths only when registration is open. 146 146 if ( 'user' === get_site_option( 'registration', 'none' ) ) { 147 // New "pending" registration flow. 148 $this->valid_sso_paths['pending-profile'] = '/register/create-profile/(?P<profile_user>[^/]+)/(?P<profile_key>[^/]+)'; 149 $this->valid_sso_paths['pending-create'] = '/register/create/(?P<confirm_user>[^/]+)/(?P<confirm_key>[^/]+)'; 150 151 // Old "Create immediately" flow, kept as in-progress registrations need it. 147 152 $this->valid_sso_paths['register-profile'] = '/register/profile/(?P<profile_user>[^/]+)/(?P<profile_nonce>[^/]+)'; 148 153 $this->valid_sso_paths['register-confirm'] = '/register/confirm/(?P<confirm_user>[^/]+)/(?P<confirm_key>[^/]+)'; 154 155 // Primary registration route. 149 156 $this->valid_sso_paths['register'] = '/register'; 150 157 }
Note: See TracChangeset
for help on using the changeset viewer.