Pull the copy-pasted sqli into a method
Pull the copy-pasted verification into a method
auth_succeeded? is a better name for this method
Also extract admin hash if password auth failed
Make the password hash stand out as more important
Merge pull request #1 from jlee-r7/land-2985-pandorafms-sqli

Improvements for PandoraFMS SQLi module