Now that user_authenticate has been significantly trimmed, it appears user_login_authenticate_validate() needs a little trimming as well.

user_login_authenticate_validate() sets global $user (but global $user is already set by the call to user_authenticate().

The supplied patch removes the global $user bits from user_login_authenticate_validate().

CommentFileSizeAuthor
user_login_authenticate_validate.patch736 bytesjohnalbin

Comments

moshe weitzman’s picture

Status: Needs review » Reviewed & tested by the community

good catch.

gábor hojtsy’s picture

Good catch indeed, committed.

gábor hojtsy’s picture

Status: Reviewed & tested by the community » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)