mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-18 22:33:44 +02:00
add SMTP mail tester
This commit is contained in:
@@ -86,4 +86,8 @@ return [
|
||||
'2fa_checkpoint_help' => 'Use the 2FA application on your phone to take a picture of the QR code to the left, or manually enter the code under it. Once you have done so, generate a token and enter it below.',
|
||||
'2fa_disable_error' => 'The 2FA token provided was not valid. Protection has not been disabled for this account.',
|
||||
],
|
||||
'mail' => [
|
||||
'test_succeeded' => 'The test message was sent successfully!',
|
||||
'test_failed' => 'Failed to send test message! Check your configuration and try again.',
|
||||
],
|
||||
];
|
||||
|
||||
@@ -98,7 +98,10 @@
|
||||
</div>
|
||||
<div class="box-footer">
|
||||
{{ csrf_field() }}
|
||||
<button type="submit" name="_method" value="PATCH" class="btn btn-sm btn-primary pull-right">Save</button>
|
||||
<div class="pull-right">
|
||||
<a href="{{ route('admin.settings.mail.test') }}" class="btn btn-sm btn-success">Test</a>
|
||||
<button type="submit" name="_method" value="PATCH" class="btn btn-sm btn-primary">Save</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
@endif
|
||||
|
||||
Reference in New Issue
Block a user