Google2Fa ready to upload

This commit is contained in:
Kevin Adametz 2021-11-09 18:38:44 +01:00
parent e3495be8b8
commit 73e38a006e
127 changed files with 2637 additions and 589 deletions

View file

@ -26,7 +26,7 @@ class CustomerMailController extends Controller
public function __construct(CustomerMailRepository $customerMailRepo)
{
$this->middleware('admin');
$this->middleware(['admin', '2fa']);
$this->customerMailRepo = $customerMailRepo;
}
@ -129,7 +129,7 @@ class CustomerMailController extends Controller
$value = new Collection();
$value->id = "add";
$value->customers = $customers;
$value->message = "Sehr #geehrte/r# #Anrede# #Vorname# #Nachname#,\n\nText ....";
$value->message = "Sehr #geehrte:r# #Anrede# #Vorname# #Nachname#,\n\nText ....";
$data['title'] = "E-Mail-Nachricht an Auswahl";
$url = route('requests_send_customer_mail');
$ret = view("customer.mail.modal-mail", compact('data','value', 'url') )->render();