forked from Business/AccountHub
Change default login alert app name to SITE_TITLE, not a hardcoded string
This commit is contained in:
parent
2db9187968
commit
5f139b69de
@ -282,7 +282,7 @@ function doLoginUser($username, $password) {
|
||||
* @param String $username the account username
|
||||
* @return Mixed TRUE if successful, error string if not
|
||||
*/
|
||||
function sendLoginAlertEmail($username, $appname = "Portal") {
|
||||
function sendLoginAlertEmail($username, $appname = SITE_TITLE) {
|
||||
if (is_empty(ADMIN_EMAIL) || filter_var(ADMIN_EMAIL, FILTER_VALIDATE_EMAIL) === FALSE) {
|
||||
return "false";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user