mt_rand function for temp user_id
-
Hello.
This piece of code in public/class-heateor-social-login-public.php.
The way i see it this can generate a unique id which might exists for another user.
Am i right?// generate unique ID $unique_id = mt_rand(); // save oauth token and secret in db temporarily update_user_meta( $unique_id, 'heateorsl_twitter_oauthtoken', $request_token['oauth_token'] ); update_user_meta( $unique_id, 'heateorsl_twitter_oauthtokensecret', $request_token['oauth_token_secret'] );
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.