Set sessionExpiryTime and require user-authentication in adminAuth

Hi All,

I'm trying to put the two properties in adminAuth in settings.js described at:

adminAuth: { sessionExpiryTime: 86400, ... }


i.e.: adminAuth: require("./user-authentication")

I came up with this, but it did not work out:

adminAuth: { sessionExpiryTime: 3600, module: require("./user-authentication") }

Thanks for any hints,

Just for the record: had to put sessionExpiryTime in the user-authentication.js itself and now it works:D

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.