Page MenuHomePhorge

Fix "Register with Approval flow" for php 8
ClosedPublic

Authored by avivey on Jun 30 2023, 08:34.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Apr 28, 11:51
Unknown Object (File)
Fri, Apr 5, 04:27
Unknown Object (File)
Apr 1 2024, 02:13
Unknown Object (File)
Apr 1 2024, 02:13
Unknown Object (File)
Apr 1 2024, 02:13
Unknown Object (File)
Mar 31 2024, 03:10
Unknown Object (File)
Mar 27 2024, 16:13
Unknown Object (File)
Mar 24 2024, 07:10

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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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