mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-05 13:44:58 -06:00
Fix login message.
This commit is contained in:
parent
9f992f003d
commit
03e1673e92
@ -89,6 +89,9 @@ class AuthController extends Controller
|
||||
if (!is_null($foundUser)) {
|
||||
// if it exists, show message:
|
||||
$code = $foundUser->blocked_code;
|
||||
if(strlen($code) == 0) {
|
||||
$code = 'general_blocked';
|
||||
}
|
||||
$message = trans('firefly.' . $code . '_error', ['email' => $credentials['email']]);
|
||||
}
|
||||
|
||||
|
@ -22,6 +22,7 @@ return [
|
||||
'search_results_for' => 'Search results for ":query"',
|
||||
'bounced_error' => 'The message sent to :email bounced, so no access for you.',
|
||||
'deleted_error' => 'These credentials do not match our records.',
|
||||
'general_blocked_error' => 'Your account has been disabled, so you cannot login.',
|
||||
'removed_amount' => 'Removed :amount',
|
||||
'added_amount' => 'Added :amount',
|
||||
'asset_account_role_help' => 'Any extra options resulting from your choice can be set later.',
|
||||
|
@ -21,7 +21,8 @@ return [
|
||||
'never' => 'Nooit',
|
||||
'search_results_for' => 'Zoekresultaten voor ":query"',
|
||||
'bounced_error' => 'Het emailtje naar :email kwam nooit aan.',
|
||||
'deleted_error' => 'These credentials do not match our records.',
|
||||
'deleted_error' => 'Deze gegevens zijn niet correct.',
|
||||
'general_blocked_error' => 'Je account is uitgeschakeld, je kan helaas niet inloggen.',
|
||||
'removed_amount' => ':amount weggehaald',
|
||||
'added_amount' => ':amount toegevoegd',
|
||||
'asset_account_role_help' => 'Voorkeuren die voortkomen uit je keuze hier kan je later aangeven.',
|
||||
|
Loading…
Reference in New Issue
Block a user