Jump to:

22977 Posts in 11742 Topics by 2826 members

General Questions

SilverStripe Forums » General Questions » PasswordExpiry not NULL ?

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

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

Page: 1
Go to End
Author Topic: 939 Views
  • Myrdhin
    Avatar
    Community Member
    67 Posts

    PasswordExpiry not NULL ? Link to this post

    Hello,

    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,

  • swaiba
    Avatar
    Forum Moderator
    1769 Posts

    Re: PasswordExpiry not NULL ? Link to this post

    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

  • Myrdhin
    Avatar
    Community Member
    67 Posts

    Re: PasswordExpiry not NULL ? Link to this post

    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

    939 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.