User E-Mail Address as Authentification when Signing up
-
Hi
I am currently building a site using the latest trunk version of BP 1.2 (you guys did a GREAT job – i worked on 1.1.3 before and so much has improved..
What I want and sort of achieved is to use an email address as username when users sign up.. I am aware of discussions about security issues because of the blog names and this is not what i plan since i am going to use the user_nicename for this.
Now in bp-core-signup.php on line 35 it says
$account_details = wpmu_validate_user_signup( $_POST[‘signup_username’], $_POST[‘signup_email’] );
which prevents me to simply use the standard form and just use a different label on the input field.
when I comment this line out, it works fine but I dont want to mess with the Buddypress Core.
My next approach (which also works) was to add this in the functions.php in my theme dir:
function test () {
}
remove_filter ( ‘wpmu_validate_user_signup’, ‘signup_nonce_check’ );
add_filter ( ‘wpmu_validate_user_signup’, ‘test’ );
the problem i have with this is that I does what I want but I am concerned about security issues since eliminiating the nonce_check will open up a hole if I am right.
Does anybody know of a better way to achieve what I am trying to do?
- The topic ‘User E-Mail Address as Authentification when Signing up’ is closed to new replies.