• Dear All,

    I have a requirement to build a simple document management system for an intranet. Since the users do not have email id plan is to provide unique username and password.

    Since by default wordpress asks for email in profile, i would like to know how shall i go ahead with above requirement.

    Thanks in advance

    Pavan

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi Pavan,

    WordPress asks for emails so that it can do things like forgotten passwords, and notifications, so it’s worth factoring into your management system plans.

    WordPress won’t actually check that the email addresses that you provide it are real, though, so you can go ahead and just make up fake ones. You could use a system like [email protected].

    Nabil

    (@nabil_kadimi)

    Check this code, and extend it to be more secure and more useful

    Add it to your plugin/theme functions.php file.

    add_action('registration_errors', 'ignore_errors', 10, 3);
    function ignore_errors($errors, $sanitized_user_login, $user_email) {
    	return new WP_Error();
    }

    Oh I just registred on my test blog, but no password, so…I let you figure it out…

    Thread Starter pathardepavan

    (@pathardepavan)

    Thank you @luke Carbis and @nabil for your suggestion.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘User without email id field’ is closed to new replies.