sugarcrm/sugarcrm_dev — pull request #190 by zuckschwerdt (2013-11-20 13:23:37+00:00)
Title: fixing undefined var $res by accessing Configurator settings

Regarding this php warning:
PHP Notice: Undefined variable: res in modules/Users/authentication/SugarAuthenticate/SugarAuthenticate.php on line 101, referer: index.php?action=Login&module=Users&login_module=Home&login_action=index
There is no variable "$res" anywhere in scope. The "lockoutexpiration" is a setting from config.php, i.e. Configurator.
This patch creates a Configurator and gets the settings from there.