@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix issues with first-time account registration

Summary: This worked originally, but the migration broke slightly after the
config was deprecated, and there was another minor issue during setup.

+7 -1
+1 -1
resources/sql/patches/20130619.authconf.php
··· 45 45 ), 46 46 'PhabricatorAuthProviderPassword' => array( 47 47 'enabled' => 'auth.password-auth-enabled', 48 - 'enabled-default' => true, 48 + 'enabled-default' => false, 49 49 'registration' => false, 50 50 'type' => 'password', 51 51 'domain' => 'self',
+6
src/applications/auth/controller/PhabricatorAuthRegisterController.php
··· 442 442 443 443 private function loadSetupAccount() { 444 444 $provider = new PhabricatorAuthProviderPassword(); 445 + $provider->attachProviderConfig( 446 + id(new PhabricatorAuthProviderConfig()) 447 + ->setShouldAllowRegistration(1) 448 + ->setShouldAllowLogin(1) 449 + ->setIsEnabled(true)); 450 + 445 451 $account = $provider->getDefaultExternalAccount(); 446 452 $response = null; 447 453 return array($account, $provider, $response);