feat: harden admin auth and ticket workflows
- add rotating admin refresh tokens and password gates\n- expand ticket galleries, exports, and client resources\n- improve IP allocation auditing and dashboard data\n- enforce encrypted client access tokens on public routes
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
namespace App\Mail\Admin;
|
||||
|
||||
use App\Mail\TemplateMailable;
|
||||
use App\Support\MailGlobals;
|
||||
use Illuminate\Bus\Queueable;
|
||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||
use Illuminate\Queue\SerializesModels;
|
||||
@@ -28,11 +29,11 @@ class TicketAdminNotification extends TemplateMailable implements ShouldQueue
|
||||
return [
|
||||
'ticket_num' => $this->ticket->ticket_num,
|
||||
'subject_text' => $this->ticket->subject,
|
||||
'room' => $this->ticket->room ?? 'N/A',
|
||||
'customer_name' => trim($this->customer->firstname . ' ' . $this->customer->lastname) ?: 'N/A',
|
||||
'room' => $this->ticket->roomLabel() ?? 'N/A',
|
||||
'customer_name' => $this->customer->fullname ?: 'N/A',
|
||||
'customer_email'=> $this->customer->email,
|
||||
'description' => mb_substr($description, 0, 500) . (mb_strlen($description) > 500 ? '…' : ''),
|
||||
'ticket_url' => config('app.frontend_url') . '/tickets/' . $this->ticket->ticket_num,
|
||||
'ticket_url' => MailGlobals::frontendUrl() . '/tickets/' . $this->ticket->ticket_num,
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user