login_as_master_name for all hook scripts

Version 1.43.1


If use use any of the pre/post.sh hook scripts in: /usr/local/directadmin/scripts/custom/ before this change, you'd have no way of knowing if a call was made using the login-as feature, or directly as a User. With this this change, anytime a login-as call is made, for any pre-post script, an extra variable is added with the name of the master (logged in from) eg: login_as_master_name=admin in addition to the variables that were there before. If login-as i not used, the variable will not exist at all.

Try DirectAdmin with a 30-day money back guarantee!