{{--
App\Mail\PasswordResetMail — sent via NotificationService event 'user.password-reset'.
Vars: $branding, $name, $email, $password, $triggeredBy ('self' | 'admin')
--}}
@extends('emails.layouts.tenant')
@section('title', 'Your password has been reset')
@section('preheader')
Here's a temporary password for your {{ $branding->name }} account.
@endsection
@section('content')
Hi {{ strtok($name, ' ') ?: 'there' }},
@if ($triggeredBy === 'self')
We received a request to reset the password for your {{ $branding->name }} account.
@else
An administrator at {{ $branding->name }} has reset the password for your account.
@endif
Use the temporary password below to sign in.
{{-- zero-width joiner stops clients auto-linking the address --}}
{{ str_replace('@', "@\u{200D}", $email) }}
{{ $password }}
Sign in to {{ $branding->name }}
You'll be asked to choose a new password as soon as you sign in. Using the mobile app?
Sign in there with the same temporary password.
@if ($triggeredBy === 'self')
Didn't ask for this? Your old password no longer works, so sign in with the temporary
password above and set a new one, then let {{ $branding->name }} know.
@endif
Kind regards,
The {{ $branding->name }} team
@endsection