Version 1.49.0


New custom script: /usr/local/directadmin/scripts/custom/ Very similar to however, the is called for every request, and checks the password for each one. The only applies to DA, just before it creates the session file, but after the password has been validated. Note that API calls *DO NOT* use session files, so this should not be a login filter. This script can be handy if you'd like to notify yourself of a session based login, but you won't be notified for any API based actions for the same account (this won't be called for API calls) The variables passed will be the same as the, so check id=1223. except I've added a new env variable: session_id=thesessionid to both the and Be sure to exit with a zero-status. If you exit with a non-zero status, the write of the session file will be aborted, and the login won't work. All non-zero exit statuses will be logged to the /var/log/directadmin/error.log, but the login page will just refresh with no errors.

Interested to try DirectAdmin? Get a 30-day Free Trial!