@php // Set locale based on user language $currentLocale = app()->getLocale(); if ($userLanguage) { app()->setLocale($userLanguage); } @endphp @extends('emails.layout') @section('title', __('email.otp_subject')) @section('header-title', __('email.otp_subject')) @section('footer')

{{ __('email.regards') }}

{{ __('email.team_signature', ['app' => config('app.name')]) }}

@endsection @section('content')

{{ __('email.otp_greeting') }}

{{ __('email.otp_message', ['app' => config('app.name')]) }} {{ $maskedIdentifier }}. {{ __('email.use_code_message') }}:

{{ $otp }}

{{ __('email.otp_expire') }}

{{ __('email.otp_security') }}

{!! __('email.otp_footer', ['app' => config('app.name')]) !!}
@endsection @php // Restore original locale app()->setLocale($currentLocale); @endphp