mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-20 13:52:40 +01:00
Allow logged-out users to accept invites on nonpublic installs
Summary: If your install isn't public, users can't see the Auth or People applications while logged out, so we can't load their invites. Allow this query to go through no matter who the viewing user is. Test Plan: Invite flow on `admin.phacility.com` now works better. Reviewers: chad, btrahan Reviewed By: btrahan Subscribers: epriestley Differential Revision: https://secure.phabricator.com/D11765
This commit is contained in:
parent
532c440e84
commit
6d5aec8618
1 changed files with 3 additions and 1 deletions
|
@ -108,7 +108,9 @@ final class PhabricatorAuthInviteQuery
|
|||
}
|
||||
|
||||
public function getQueryApplicationClass() {
|
||||
return 'PhabricatorAuthApplication';
|
||||
// NOTE: This query is issued by logged-out users, who often will not be
|
||||
// able to see applications. They still need to be able to see invites.
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue