Repository navigation
Commit 05ac884
committed
fix(FOUR-33567): prevent 502 on login lockout by replacing gettext _() with __()
gettext _() causes php-fpm SIGSEGV on macOS when throwing the account
locked response after too many failed login attempts. The user was being
set to BLOCKED in the database, but the UI returned 502 Bad Gateway
instead of the lockout message.
Replace _() with Laravel __() in login, 2FA, password expiry, and script
executor flows. Add a regression test for account lockout after exceeding
the configured login attempt limit.
https://processmaker.atlassian.net/browse/FOUR-335671 parent f45b546 commit 05ac884
1 file changed
Lines changed: 7 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
535 | 535 | | |
536 | 536 | | |
537 | 537 | | |
538 | | - | |
539 | | - | |
540 | | - | |
541 | | - | |
542 | | - | |
543 | | - | |
544 | | - | |
545 | | - | |
546 | | - | |
547 | | - | |
548 | | - | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
549 | 544 | | |
550 | 545 | | |
551 | | - | |
| 546 | + | |
552 | 547 | | |
553 | 548 | | |
554 | 549 | | |
| |||
0 commit comments