Files
Odoo-Modules/fusion_plating
gsinghpal a594431eb6 feat(fusion_plating_shopfloor): /fp/tablet/unlock with per-user lockout (P6.1.3)
Verifies PIN, resets failure counter on success, increments + locks out
on 5 consecutive failures (configurable via ir.config_parameter
fp.shopfloor.tablet_pin_fail_threshold + tablet_pin_fail_lockout_minutes,
both defaulting to 5).

Returns informative payloads:
  ok=true            current_tech_id, current_tech_name
  needs_setup=true   user has no PIN yet
  locked_until       lockout in effect (rejects even correct PIN)
  attempts_remaining failed but not yet locked

Logs INFO on success, WARNING on failure (with running counter +
locked flag).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-23 00:15:01 -04:00
..
2026-04-20 13:07:15 -04:00
2026-04-26 15:05:17 -04:00
2026-05-18 22:33:23 -04:00
2026-05-21 03:37:25 -04:00
2026-05-22 18:01:31 -04:00
2026-05-10 10:25:12 -04:00
2026-05-21 04:47:45 -04:00
2026-05-21 03:37:25 -04:00
2026-04-28 19:39:37 -04:00
2026-05-22 18:01:31 -04:00
2026-04-28 19:39:37 -04:00
2026-04-28 19:39:37 -04:00
2026-04-28 19:39:37 -04:00
2026-05-17 03:20:33 -04:00
2026-05-22 18:01:31 -04:00
2026-05-21 21:00:10 -04:00
2026-04-24 21:04:38 -04:00
2026-05-21 03:37:25 -04:00
2026-04-20 01:16:12 -04:00
2026-04-16 20:53:53 -04:00