feat(core): harden sessions settlement and credit activity
Some checks failed
lotterLaravel CI / test (push) Has been cancelled
lotterLaravel E2E / e2e-api (push) Has been cancelled

This commit is contained in:
wchino
2026-07-22 20:53:43 +08:00
parent 35f6e46958
commit 15bd997c4e
48 changed files with 1920 additions and 93 deletions

View File

@@ -5,6 +5,7 @@ return [
'invalid_captcha' => 'Invalid or expired captcha.',
'invalid_credentials' => 'Invalid account or password.',
'account_disabled' => 'This account has been disabled.',
'session_replaced' => 'This account was signed in elsewhere. The current session has been signed out.',
'permission_denied' => 'You do not have permission to perform this action.',
'forbidden' => 'You do not have permission to perform this action.',
'settlement_run_skipped' => 'Settlement was not run for this draw (check draw status and published result batch).',

View File

@@ -41,6 +41,7 @@ return [
'jackpot_already_allocated_for_draw' => 'Jackpot was already allocated for this draw.',
'draw_not_ready_for_jackpot_burst' => 'Draw is not in settling or settled status.',
'draw_result_not_published' => 'Draw results have not been published.',
'draw_not_ready_for_settlement' => 'This draw cannot be settled in its current state. Settlement may only be started early during cooldown or retried while settling.',
'settlement_batch_not_found' => 'Settlement batch not found for this draw.',
'settlement_not_pending_review' => 'Settlement batch is not pending review.',
'settlement_not_approved' => 'Settlement batch is not approved.',

View File

@@ -16,4 +16,5 @@ return [
'8007' => 'Too many failed attempts. Try again later',
'8008' => 'Please sign in through the main site',
'8009' => 'Invalid or expired captcha.',
'8010' => 'This account was signed in on another device. Please sign in again.',
];