Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

PasswordExpiry not NULL ?

Go to End

3 Posts   1479 Views


Community Member, 70 Posts

11 April 2011 at 10:10pm


I have SS 2.4.0 and when a add a member in the admin security and i want to connect to this new member, SS always ask me a new password.

In my DB, i see that user have a PasswordExpiry set to the creation date (and not NULL). Only an ADMIN member have a NULL PasswordExpiry.

How to always set to NULL PasswordExpiry ?

Thank for your help,


Forum Moderator, 1899 Posts

11 April 2011 at 10:14pm

It's NULL in my db's and the users are not constantly prompted for new passwords - or I'd hear about it!

You might try upgrading as 2.4.0 is rather out of date... maybe that will fix things up


Community Member, 70 Posts

12 April 2011 at 3:49am

Thanks for your response but i found my error. I used a custom class to replace 'Date'

Object::useCustomclass('Date', 'MyDate');

But in "MyDate", i always return a default date : today. But when you create a user and you use "Date", the date is set to "NULL", not today like in my "MyDate" class :-)