login_pre.sh login_post.sh session_create_pre.sh to add $user_agent header

Version 1.52.0


If you're using the login_pre.sh, login_post.sh, or session_create_pre.sh, you can now access the environmental variable: user_agent which is the User-Agent header passed to DA in the request, should you need to check that to validation, eg: user_agent=Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36

Try DirectAdmin with a 30-day money back guarantee!