mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-11 09:42:15 +01:00
Add email notifications for expiring api tokens
This commit is contained in:
committed by
Constantin Graf
parent
3d58f570bd
commit
f9c0d64f82
@@ -0,0 +1,12 @@
|
||||
@component('mail::message')
|
||||
|
||||
{{ __('The API token ":token" expired.', ['token' => $tokenName]) }}
|
||||
|
||||
|
||||
{{ __('You can create a new API token in your profile:') }}
|
||||
|
||||
@component('mail::button', ['url' => $profileUrl])
|
||||
{{ __('Go to your profile') }}
|
||||
@endcomponent
|
||||
|
||||
@endcomponent
|
||||
13
resources/views/emails/auth-api-token-expired.blade.php
Normal file
13
resources/views/emails/auth-api-token-expired.blade.php
Normal file
@@ -0,0 +1,13 @@
|
||||
@component('mail::message')
|
||||
|
||||
{{ __('The API token ":token" will expire in 7 days!', ['token' => $tokenName]) }}
|
||||
|
||||
{{ __('Please make sure to create a new API token and use the new one instead before it expires to avoid any disruptions in service.') }}
|
||||
|
||||
{{ __('You can create a new API token in your profile:') }}
|
||||
|
||||
@component('mail::button', ['url' => $profileUrl])
|
||||
{{ __('Go to your profile') }}
|
||||
@endcomponent
|
||||
|
||||
@endcomponent
|
||||
Reference in New Issue
Block a user