Verified Commit 7436c4d3 authored by Helmo's avatar Helmo
Browse files

Use email adres from the client table, +error handling

parent 3e91558f
......@@ -46,4 +46,5 @@ $wb['otp_code_email_sent_txt'] = 'An email was sent to';
$wb['otp_code_email_subject_txt'] = 'ISPConfig Login authentication';
$wb['otp_code_email_template_txt'] = 'Your One time login code is %s' . PHP_EOL . 'This code is valid for 10 minutes.' . PHP_EOL;
$wb['otp_code_resend_txt'] = 'Request new code';
$wb['otp_code_email_sent_failed_txt'] = 'Failed sending an email to %s';
?>
......@@ -39,4 +39,5 @@ $wb['otp_code_email_sent_txt'] = 'An email was sent to';
$wb['otp_code_email_subject_txt'] = 'ISPConfig Login authentication';
$wb['otp_code_email_template_txt'] = 'Your One time login code is %s' . PHP_EOL . 'This code is valid for 10 minutes.' . PHP_EOL;
$wb['otp_code_resend_txt'] = 'Request new code';
$wb['otp_code_email_sent_failed_txt'] = 'Failed sending an email to %s';
?>
......@@ -39,3 +39,4 @@ $wb['otp_code_email_sent_txt'] = 'An email was sent to';
$wb['otp_code_email_subject_txt'] = 'ISPConfig Login authentication';
$wb['otp_code_email_template_txt'] = 'Your One time login code is %s' . PHP_EOL . 'This code is valid for 10 minutes.' . PHP_EOL;
$wb['otp_code_resend_txt'] = 'Request new code';
$wb['otp_code_email_sent_failed_txt'] = 'Failed sending an email to %s';
......@@ -39,4 +39,5 @@ $wb['otp_code_email_sent_txt'] = 'An email was sent to';
$wb['otp_code_email_subject_txt'] = 'ISPConfig Login authentication';
$wb['otp_code_email_template_txt'] = 'Your One time login code is %s' . PHP_EOL . 'This code is valid for 10 minutes.' . PHP_EOL;
$wb['otp_code_resend_txt'] = 'Request new code';
$wb['otp_code_email_sent_failed_txt'] = 'Failed sending an email to %s';
?>
......@@ -39,4 +39,5 @@ $wb['otp_code_email_sent_txt'] = 'An email was sent to';
$wb['otp_code_email_subject_txt'] = 'ISPConfig Login authentication';
$wb['otp_code_email_template_txt'] = 'Your One time login code is %s' . PHP_EOL . 'This code is valid for 10 minutes.' . PHP_EOL;
$wb['otp_code_resend_txt'] = 'Request new code';
$wb['otp_code_email_sent_failed_txt'] = 'Failed sending an email to %s';
?>
......@@ -39,4 +39,5 @@ $wb['otp_code_email_sent_txt'] = 'An email was sent to';
$wb['otp_code_email_subject_txt'] = 'ISPConfig Login authentication';
$wb['otp_code_email_template_txt'] = 'Your One time login code is %s' . PHP_EOL . 'This code is valid for 10 minutes.' . PHP_EOL;
$wb['otp_code_resend_txt'] = 'Request new code';
$wb['otp_code_email_sent_failed_txt'] = 'Failed sending an email to %s';
?>
......@@ -39,4 +39,5 @@ $wb['otp_code_email_sent_txt'] = 'An email was sent to';
$wb['otp_code_email_subject_txt'] = 'ISPConfig Login authentication';
$wb['otp_code_email_template_txt'] = 'Your One time login code is %s' . PHP_EOL . 'This code is valid for 10 minutes.' . PHP_EOL;
$wb['otp_code_resend_txt'] = 'Request new code';
$wb['otp_code_email_sent_failed_txt'] = 'Failed sending an email to %s';
?>
......@@ -39,4 +39,5 @@ $wb['otp_code_email_sent_txt'] = 'An email was sent to';
$wb['otp_code_email_subject_txt'] = 'ISPConfig Login authentication';
$wb['otp_code_email_template_txt'] = 'Your One time login code is %s' . PHP_EOL . 'This code is valid for 10 minutes.' . PHP_EOL;
$wb['otp_code_resend_txt'] = 'Request new code';
$wb['otp_code_email_sent_failed_txt'] = 'Failed sending an email to %s';
?>
......@@ -39,4 +39,5 @@ $wb['otp_code_email_sent_txt'] = 'An email was sent to';
$wb['otp_code_email_subject_txt'] = 'ISPConfig Login authentication';
$wb['otp_code_email_template_txt'] = 'Your One time login code is %s' . PHP_EOL . 'This code is valid for 10 minutes.' . PHP_EOL;
$wb['otp_code_resend_txt'] = 'Request new code';
$wb['otp_code_email_sent_failed_txt'] = 'Failed sending an email to %s';
?>
......@@ -39,4 +39,5 @@ $wb['otp_code_email_sent_txt'] = 'An email was sent to';
$wb['otp_code_email_subject_txt'] = 'ISPConfig Login authentication';
$wb['otp_code_email_template_txt'] = 'Your One time login code is %s' . PHP_EOL . 'This code is valid for 10 minutes.' . PHP_EOL;
$wb['otp_code_resend_txt'] = 'Request new code';
$wb['otp_code_email_sent_failed_txt'] = 'Failed sending an email to %s';
?>
......@@ -39,4 +39,5 @@ $wb['otp_code_email_sent_txt'] = 'An email was sent to';
$wb['otp_code_email_subject_txt'] = 'ISPConfig Login authentication';
$wb['otp_code_email_template_txt'] = 'Your One time login code is %s' . PHP_EOL . 'This code is valid for 10 minutes.' . PHP_EOL;
$wb['otp_code_resend_txt'] = 'Request new code';
$wb['otp_code_email_sent_failed_txt'] = 'Failed sending an email to %s';
?>
......@@ -39,4 +39,5 @@ $wb['otp_code_email_sent_txt'] = 'An email was sent to';
$wb['otp_code_email_subject_txt'] = 'ISPConfig Login authentication';
$wb['otp_code_email_template_txt'] = 'Your One time login code is %s' . PHP_EOL . 'This code is valid for 10 minutes.' . PHP_EOL;
$wb['otp_code_resend_txt'] = 'Request new code';
$wb['otp_code_email_sent_failed_txt'] = 'Failed sending an email to %s';
?>
......@@ -39,4 +39,5 @@ $wb['otp_code_email_sent_txt'] = 'An email was sent to';
$wb['otp_code_email_subject_txt'] = 'ISPConfig Login authentication';
$wb['otp_code_email_template_txt'] = 'Your One time login code is %s' . PHP_EOL . 'This code is valid for 10 minutes.' . PHP_EOL;
$wb['otp_code_resend_txt'] = 'Request new code';
$wb['otp_code_email_sent_failed_txt'] = 'Failed sending an email to %s';
?>
......@@ -39,4 +39,5 @@ $wb['otp_code_email_sent_txt'] = 'An email was sent to';
$wb['otp_code_email_subject_txt'] = 'ISPConfig Login authentication';
$wb['otp_code_email_template_txt'] = 'Your One time login code is %s' . PHP_EOL . 'This code is valid for 10 minutes.' . PHP_EOL;
$wb['otp_code_resend_txt'] = 'Request new code';
$wb['otp_code_email_sent_failed_txt'] = 'Failed sending an email to %s';
?>
......@@ -39,4 +39,5 @@ $wb['otp_code_email_sent_txt'] = 'An email was sent to';
$wb['otp_code_email_subject_txt'] = 'ISPConfig Login authentication';
$wb['otp_code_email_template_txt'] = 'Your One time login code is %s' . PHP_EOL . 'This code is valid for 10 minutes.' . PHP_EOL;
$wb['otp_code_resend_txt'] = 'Request new code';
$wb['otp_code_email_sent_failed_txt'] = 'Failed sending an email to %s';
?>
......@@ -39,4 +39,5 @@ $wb['otp_code_email_sent_txt'] = 'An email was sent to';
$wb['otp_code_email_subject_txt'] = 'ISPConfig Login authentication';
$wb['otp_code_email_template_txt'] = 'Your One time login code is %s' . PHP_EOL . 'This code is valid for 10 minutes.' . PHP_EOL;
$wb['otp_code_resend_txt'] = 'Request new code';
$wb['otp_code_email_sent_failed_txt'] = 'Failed sending an email to %s';
?>
......@@ -39,4 +39,5 @@ $wb['otp_code_email_sent_txt'] = 'An email was sent to';
$wb['otp_code_email_subject_txt'] = 'ISPConfig Login authentication';
$wb['otp_code_email_template_txt'] = 'Your One time login code is %s' . PHP_EOL . 'This code is valid for 10 minutes.' . PHP_EOL;
$wb['otp_code_resend_txt'] = 'Request new code';
$wb['otp_code_email_sent_failed_txt'] = 'Failed sending an email to %s';
?>
......@@ -39,4 +39,5 @@ $wb['otp_code_email_sent_txt'] = 'An email was sent to';
$wb['otp_code_email_subject_txt'] = 'ISPConfig Login authentication';
$wb['otp_code_email_template_txt'] = 'Your One time login code is %s' . PHP_EOL . 'This code is valid for 10 minutes.' . PHP_EOL;
$wb['otp_code_resend_txt'] = 'Request new code';
$wb['otp_code_email_sent_failed_txt'] = 'Failed sending an email to %s';
?>
......@@ -39,4 +39,5 @@ $wb['otp_code_email_sent_txt'] = 'An email was sent to';
$wb['otp_code_email_subject_txt'] = 'ISPConfig Login authentication';
$wb['otp_code_email_template_txt'] = 'Your One time login code is %s' . PHP_EOL . 'This code is valid for 10 minutes.' . PHP_EOL;
$wb['otp_code_resend_txt'] = 'Request new code';
$wb['otp_code_email_sent_failed_txt'] = 'Failed sending an email to %s';
?>
......@@ -39,4 +39,5 @@ $wb['otp_code_email_sent_txt'] = 'An email was sent to';
$wb['otp_code_email_subject_txt'] = 'ISPConfig Login authentication';
$wb['otp_code_email_template_txt'] = 'Your One time login code is %s' . PHP_EOL . 'This code is valid for 10 minutes.' . PHP_EOL;
$wb['otp_code_resend_txt'] = 'Request new code';
$wb['otp_code_email_sent_failed_txt'] = 'Failed sending an email to %s';
?>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment