23490 Posts in 18996 Topics by 2878 members
|Go to End|
14 July 2009 at 2:04am
I have noticed that I can create users in the CMS without giving them a password. This results in the password field in the database being set to NULL and the same for the password table. However, a user created without a password can't login for whatever reason.
I am in a somewhat special situation where I actually want to allow users who only have a user name and no password, is there any way to implement this?
14 July 2009 at 2:09am
The member authenticator contains this line
$member = DataObject::get_one("Member", "Email = '$SQL_user' AND Password IS NOT NULL");
This means that records in the database without passwords never will be found. How do I get around this?
14 July 2009 at 3:12am
Well if you need it to be null, you'll have to alter the member authenitcator, or create your own authenticator
|Go to Top|