• 
      

    Handle LDAP users who don't have email addresses configured.

    Review Request #5512 — Created Feb. 20, 2014 and submitted — Latest diff uploaded

    Information

    Review Board
    release-1.7.x
    17fb5ba...

    Reviewers

    When a given field isn't defined for a user, the result from ldap searches will
    not include that key at all. This means that in the case of users who don't
    have an email address set, they won't be able to log in to Review Board.

    This change handles KeyError in get_or_create_user when using a special email
    attribute and logs the error instead of failing.