Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13995541
D16167.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
943 B
Referenced Files
None
Subscribers
None
D16167.id.diff
View Options
diff --git a/src/applications/people/storage/PhabricatorUser.php b/src/applications/people/storage/PhabricatorUser.php
--- a/src/applications/people/storage/PhabricatorUser.php
+++ b/src/applications/people/storage/PhabricatorUser.php
@@ -94,6 +94,10 @@
* @return bool True if this is a standard, usable account.
*/
public function isUserActivated() {
+ if (!$this->isLoggedIn()) {
+ return false;
+ }
+
if ($this->isOmnipotent()) {
return true;
}
diff --git a/src/view/page/PhabricatorStandardPageView.php b/src/view/page/PhabricatorStandardPageView.php
--- a/src/view/page/PhabricatorStandardPageView.php
+++ b/src/view/page/PhabricatorStandardPageView.php
@@ -222,7 +222,7 @@
}
if ($user) {
- if ($user->isLoggedIn()) {
+ if ($user->isUserActivated()) {
$offset = $user->getTimeZoneOffset();
$ignore_key = PhabricatorTimezoneIgnoreOffsetSetting::SETTINGKEY;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Oct 24, 1:44 PM (1 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6717586
Default Alt Text
D16167.id.diff (943 B)
Attached To
Mode
D16167: Don't show client-side setup prompts until user accounts activate
Attached
Detach File
Event Timeline
Log In to Comment