teppo Posted June 26, 2015 Share Posted June 26, 2015 This module was already introduced in another thread yesterday, but since each module should have a thread of its own, here we go. Login Scheduler adds a couple of new fields to user template(s) and provides support for disabling login for non-superuser accounts either instantly (with a checkbox, "Login disabled") or by specifying a time range ("Login allowed starting from", "Login allowed until"). If a user is already logged in when login access is disabled, logout should be triggered during next session validity check (usually next page load). Starting from version 1.1.0, superuser accounts are not affected by this module at all. This is a safety mechanism and prevents you from locking yourself out of the whole system. You can grab this module from GitHub: https://github.com/teppokoivula/LoginScheduler. 19 Link to comment Share on other sites More sharing options...
thlinna Posted November 6, 2018 Share Posted November 6, 2018 Hi @teppo, I am testing your module with PW 3.0.118, and found problems with compatibility. I presume some changes made in 3.0.73 (?) reagarding to Fieldsets may have bricked it. Is there any way to update the module to support latest development versions of the PW? Thanks in advance! Link to comment Share on other sites More sharing options...
teppo Posted November 7, 2018 Author Share Posted November 7, 2018 Hey @thlinna, thanks for the report. I'll schedule some maintenance time to later today ? 1 1 Link to comment Share on other sites More sharing options...
teppo Posted November 7, 2018 Author Share Posted November 7, 2018 @thlinna, could you specify what kind of issues you were experiencing? I've just installed this on a PW 3.0.118 site, and so far no luck: the module installs as expected, fields show up in user editor, and a user with login_disabled checked cannot log in or use the admin. The module wasn't exactly verbose about what it was doing during install/uninstall, so I'll push a new version that lists fields and template(s) affected during both install and uninstall. Other than that this version doesn't really change anything, since I'm not seeing any issues here yet ? 2 Link to comment Share on other sites More sharing options...
thlinna Posted November 7, 2018 Share Posted November 7, 2018 To be honest, I do not know what went wrong. But now, with the new version, it is working like charm. Cheers mate! 1 Link to comment Share on other sites More sharing options...
skries Posted July 18, 2021 Share Posted July 18, 2021 Just wanted to say thank you, @teppo, for making this module available. It's exactly what I needed and it works very well. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now