Urgent.News

What's breaking now, across thousands of outlets.

More in Tech

Per-user two-factor auth in CakePHP with CakeDC/Users (opt-in, one method)

CakeDC/Users gives you TOTP two-factor authentication almost for free: flip one config key and every login grows a "enter your 6-digit code" step. The catch is that word every .

  • Per-user opt-in for 2FA in CakePHP via CakeDC/Users package
  • Twosteps boolean column added to users table to track opt-in status
  • BaconQrCodeProvider used for QR code generation, enabling SVG display

More from Tuesday 25 August →