Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: block account route #103

Merged
merged 17 commits into from
Feb 9, 2024
Merged
11 changes: 11 additions & 0 deletions config/siteboss.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,15 @@

'export_retain_ids' => env('SB_EXPORT_RETAIN_IDS', false),

/*
|--------------------------------------------------------------------------
| Admin email
|--------------------------------------------------------------------------
|
| Email address to send admin notifications to.
|
*/

'admin_email' => env('SB_ADMIN_EMAIL', null),

];
6 changes: 6 additions & 0 deletions lang/en/auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@
'verify_email_button' => 'Verify email',
'verify_email_resend' => 'Resend verification email',
'verify_email_link_sent' => 'A fresh verification link has been sent to your email address.',
'verify_email_success' => 'Account successfully verified.',
'verify_wrong_email' => 'Click here to block this attempt if you were not the one who tried to login.',
'block_account_title' => 'Account blocked',
'block_account_message' => 'The account has been blocked.',
'verify_block_account_title' => 'Block account?',
'verify_block_account_message' => 'Are you sure you want to block this account? You will not be able to login to SiteBoss. An administrator can unblock your account.',
'verify_block_account_button' => 'Block account',

];
9 changes: 8 additions & 1 deletion lang/nl/auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@
'verify_email_link' => 'Klik op onderstaande link om je e-mailadres te bevestigen.',
'verify_email_resend' => 'Verificatiemail opnieuw verzenden',
'verify_email_link_sent' => 'Er is een nieuwe verificatielink naar jouw e-mailadres verzonden.',
'verify_email_success' => 'Account succesvol geverifieerd.',

'verify_wrong_email' => 'Heb je zelf niet geprobeerd in te loggen? Klik dan hier om deze poging te blokkeren.',
'block_account_message' => 'Account succesvol geblokkeerd.',

'verify_block_account_title' => 'Account blokkeren?',
'verify_block_account_message' => 'Wil je voor de zekerheid jouw account blokkeren? Je kunt dan niet meer inloggen op SiteBoss. Een administrator kan jouw account weer deblokkeren.',
'verify_block_account_button' => 'Blokkeer account',
'block_account_title' => 'Account geblokkeerd',
'block_account_message' => 'Vraag een beheerder om je account te herstellen.',
];
Loading
Loading