|
|
|
@ -1412,9 +1412,11 @@ class Template |
|
|
|
|
$message = get_lang('AccountInactive'); |
|
|
|
|
|
|
|
|
|
if (api_get_setting('allow_registration') === 'confirmation') { |
|
|
|
|
$message = get_lang('AccountNotConfirmed') |
|
|
|
|
.PHP_EOL |
|
|
|
|
.Display::url(get_lang('ReSendConfirmationMail'), api_get_path(WEB_PATH) . 'main/auth/resend_confirmation_mail.php'); |
|
|
|
|
$message = get_lang('AccountNotConfirmed').PHP_EOL; |
|
|
|
|
$message .= Display::url( |
|
|
|
|
get_lang('ReSendConfirmationMail'), |
|
|
|
|
api_get_path(WEB_PATH).'main/auth/resend_confirmation_mail.php' |
|
|
|
|
); |
|
|
|
|
} |
|
|
|
|
break; |
|
|
|
|
case 'user_password_incorrect': |
|
|
|
@ -1437,7 +1439,7 @@ class Template |
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
return Display::return_message($message, 'error'); |
|
|
|
|
return Display::return_message($message, 'error', false); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|