Skip to content

Commit 6138d58

Browse files
committed
Update documentation to reflect bin/auth changes
Summary: See https://secure.phabricator.com/D18901#249481. Update the docs and a warning string to reflect the new reality that `bin/auth recover` is now able to recover any account, not just administrators. Test Plan: Mk 1 eyeball Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D20007
1 parent 881d79c commit 6138d58

File tree

2 files changed

+10
-12
lines changed

2 files changed

+10
-12
lines changed

src/applications/auth/controller/PhabricatorAuthStartController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public function handleRequest(AphrontRequest $request) {
8888
'This Phabricator install is not configured with any enabled '.
8989
'authentication providers which can be used to log in. If you '.
9090
'have accidentally locked yourself out by disabling all providers, '.
91-
'you can use `%s` to recover access to an administrative account.',
91+
'you can use `%s` to recover access to an account.',
9292
'phabricator/bin/auth recover <username>'));
9393
}
9494

src/docs/user/configuration/configuring_accounts_and_registration.diviner

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ there is a "Username/Password" authentication provider available, which allows
1414
users to log in with a traditional username and password. Other providers
1515
support logging in with other credentials. For example:
1616

17-
- **Username/Password:** Users use a username and password to log in or
18-
register.
1917
- **LDAP:** Users use LDAP credentials to log in or register.
2018
- **OAuth:** Users use accounts on a supported OAuth2 provider (like
2119
GitHub, Facebook, or Google) to log in or register.
@@ -30,16 +28,16 @@ After you add a provider, you can link it to existing accounts (for example,
3028
associate an existing Phabricator account with a GitHub OAuth account) or users
3129
can use it to register new accounts (assuming you enable these options).
3230

33-
= Recovering Administrator Accounts =
31+
= Recovering Inaccessible Accounts =
3432

35-
If you accidentally lock yourself out of Phabricator, you can use the `bin/auth`
36-
script to recover access to an administrator account. To recover access, run:
33+
If you accidentally lock yourself out of Phabricator (for example, by disabling
34+
all authentication providers), you can use the `bin/auth`
35+
script to recover access to an account. To recover access, run:
3736

3837
phabricator/ $ ./bin/auth recover <username>
3938

40-
...where `<username>` is the admin account username you want to recover access
41-
to. This will give you a link which will log you in as the specified
42-
administrative user.
39+
...where `<username>` is the account username you want to recover access
40+
to. This will generate a link which will log you in as the specified user.
4341

4442
= Managing Accounts with the Web Console =
4543

@@ -57,9 +55,9 @@ To use the CLI script, run:
5755

5856
phabricator/ $ ./bin/accountadmin
5957

60-
Some options (like setting passwords and changing certain account flags) are
61-
only available from the CLI. You can also use this script to make a user
62-
an administrator (if you accidentally remove your admin flag) or create an
58+
Some options (like changing certain account flags) are only available from
59+
the CLI. You can also use this script to make a user
60+
an administrator (if you accidentally remove your admin flag) or to create an
6361
administrative account.
6462

6563
= Next Steps =

0 commit comments

Comments
 (0)