Expected Behavior
Able to login successfully when auth: true on admin user collection.
Current Behavior
A login attempt will throw error "expiresIn" should be a number of seconds or string representation of timespan
Possible Solution
Collection config sanitization is not being handled properly when set as auth: true. This works properly if auth is set to any object.
Steps to Reproduce
- Create a Users collection with
auth: true
- Attempt to log in
Expected Behavior
Able to login successfully when
auth: trueon admin user collection.Current Behavior
A login attempt will throw error
"expiresIn" should be a number of seconds or string representation of timespanPossible Solution
Collection config sanitization is not being handled properly when set as
auth: true. This works properly if auth is set to any object.Steps to Reproduce
auth: true