I’m not sure if I’ve hit a bug or an error in my process. I’d like your assistance in finding out 😊
We recently used the Member Import utility to import a large set of members. The password node in the XML file was set to a type of “text” because the plain text passwords were part of the import. We tested about 10 random users after the import to confirm that they accounts were imported properly and users could log in with the username and password from their old system. All of that worked perfectly.
Until we hit the lovely exception.
Our EE site has slightly different password requirements for minimum password length than the orignal data source’s site. We also have “Require Secure Passwords?” set to Yes for this site.
When logging in as a user whose imported password is shorter than our requirements, the method _check_min_unpwd() in the mod.member_auth.php file is catching it. Unfortunately I’m getting an error on this check due to line 196:
A PHP Error was encountered
Severity: Notice
Message: Undefined property: Auth_result::$member_id
Filename: member/mod.member_auth.php
Line Number: 196I see this when debugging is enabled. When debugging is not enabled the user gets redirected to the homepage (definitely confusing and undesirable for the user experience).
Is this an EE bug by chance?
Furthermore, I notice that a redirect is hard coded into this method. We aren’t using the Member profile trigger word so I’m concerned that even if/when this particular issue is resolved that it will redirect my members to a useless URL. I realize using a 3rd party solution for member profile management can’t be supported by your team - but I’m at least interested in whether or not the 3rd party solution could/should be able to hook into functions like these. Any thoughts on that?
Details:
I’m on EE 2.2.2
I disabled extensions and still experience this.