Skip to main content
OCLC Support

Can I set an expiry date for users with text file authentication?

Symptom

  • I use text file authentication, and I want to set an expiry date for accounts

 

Resolution

The user.txt contains entries in this format:

user:pass

To add an expiry date for January 2, 2025, add this at the end of the line:

:IfBefore=2025-01-03

The whole line looks like this:

user:pass:IfBefore=2025-01-03

 

 

Page ID

61534