Page MenuHomePhorge

Fix "Register with Approval flow" for php 8
ClosedPublic

Authored by avivey on Jun 30 2023, 08:34.
Tags
None
Referenced Files
F2978821: D25317.1739705572.diff
Sat, Feb 15, 11:32
F2978806: D25317.1739703481.diff
Sat, Feb 15, 10:58
F2978799: D25317.1739702120.diff
Sat, Feb 15, 10:35
F2978774: D25317.1739697404.diff
Sat, Feb 15, 09:16
F2963816: D25317.1739231412.diff
Sun, Feb 9, 23:50
F2945055: D25317.1738284621.diff
Thu, Jan 30, 00:50
F2944045: D25317.1738238615.diff
Wed, Jan 29, 12:03
F2935874: D25317.1737881081.diff
Sat, Jan 25, 08:44

Details

Summary

Ref T15064.

Test Plan
  • Register as a new user
  • as admin, view user's page and approve it
  • As new user, hit "wait patiently" to go back to Home

No crashes in this flow.

Diff Detail

Repository
rP Phorge
Branch
register-80
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 612
Build 612: arc lint + arc unit

Event Timeline

avivey requested review of this revision.Jun 30 2023, 08:34
src/applications/auth/engine/PhabricatorAuthPasswordEngine.php
153

If I understand correctly this removes empty lines.

In your opinion, where does an empty blocklist entry come from?

src/applications/auth/engine/PhabricatorAuthPasswordEngine.php
153

Removes empty ("falsy", probably) entries.
The blocklist is made up of a bunch of different sources - possibly some of them can only be null in debug mode; I wasn't able to determine which one was null in this case.

This revision is now accepted and ready to land.Jun 30 2023, 11:33