Changeset 1966662
- Timestamp:
- 10/31/2018 05:57:56 PM (7 years ago)
- File:
-
- 1 edited
-
wp-okta-authentication/trunk/okta.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-okta-authentication/trunk/okta.php
r1966644 r1966662 193 193 194 194 /* 195 Get the username 196 */ 197 198 $username = $user->preferred_username; 199 200 /* 201 Modify the username if necessary 202 */ 203 204 if ( has_filter ( 'okta_username' ) ) { 205 $username = apply_filters ( 'okta_username', $user ); 206 } 207 208 /* 195 209 Check to see if the user already exists 196 210 */ … … 202 216 */ 203 217 204 $username = apply_filters( 'okta_username', $user->preferred_username );205 218 $user_id = wp_insert_user ( array( 206 219 'user_login' => $username,
Note: See TracChangeset
for help on using the changeset viewer.