Skip to content

Conflict exists when a user try to login and the email already exists for a different user. #33

Description

@maricel0422

Issue found on commit 9b7aba0

DESCRIPTION
If a mail address already exists for an not-network user, the following error is shown:

Notice: Undefined index: uid in /var/www/mayflower/wp-content/plugins/wordpress-cas-client/wordpress-cas-client.php on line 481

Notice: Undefined variable: user_pass in /var/www/mayflower/wp-includes/user.php on line 1299

Sorry, that email address is already used!

STEPS TO REPRO

  1. Create a username in WP that is not on LDAP but uses an email address that is on LDAP.
  2. Go to http://shoes.bellevuecollege.edu/mayflower/wp-admin
  3. Enter LDAP username and password
  4. Hit Enter

RESULT
Notice: Undefined index: uid in /var/www/mayflower/wp-content/plugins/wordpress-cas-client/wordpress-cas-client.php on line 481

Notice: Undefined variable: user_pass in /var/www/mayflower/wp-includes/user.php on line 1299

Sorry, that email address is already used!

EXPECTED
No error but access to wordpress

NOTES

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions