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)
Wed, May 8, 11:21
Unknown Object (File)
Wed, May 8, 11:21
Unknown Object (File)
Wed, May 8, 10:11
Unknown Object (File)
Wed, May 8, 09:27
Unknown Object (File)
Sun, Apr 28, 11:51
Unknown Object (File)
Apr 5 2024, 04:27
Unknown Object (File)
Apr 1 2024, 02:13
Unknown Object (File)
Apr 1 2024, 02:13

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