Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14006786
D10331.id24875.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D10331.id24875.diff
View Options
diff --git a/src/applications/auth/controller/PhabricatorAuthOneTimeLoginController.php b/src/applications/auth/controller/PhabricatorAuthOneTimeLoginController.php
--- a/src/applications/auth/controller/PhabricatorAuthOneTimeLoginController.php
+++ b/src/applications/auth/controller/PhabricatorAuthOneTimeLoginController.php
@@ -120,7 +120,7 @@
$next = '/';
if (!PhabricatorPasswordAuthProvider::getPasswordProvider()) {
$next = '/settings/panel/external/';
- } else if (PhabricatorEnv::getEnvConfig('account.editable')) {
+ } else {
// We're going to let the user reset their password without knowing
// the old one. Generate a one-time token for that.
diff --git a/src/applications/settings/panel/PhabricatorSettingsPanelPassword.php b/src/applications/settings/panel/PhabricatorSettingsPanelPassword.php
--- a/src/applications/settings/panel/PhabricatorSettingsPanelPassword.php
+++ b/src/applications/settings/panel/PhabricatorSettingsPanelPassword.php
@@ -16,15 +16,8 @@
}
public function isEnabled() {
- // There's no sense in showing a change password panel if the user
- // can't change their password...
-
- if (!PhabricatorEnv::getEnvConfig('account.editable')) {
- return false;
- }
-
- // ...or this install doesn't support password authentication at all.
-
+ // There's no sense in showing a change password panel if this install
+ // doesn't support password authentication.
if (!PhabricatorPasswordAuthProvider::getPasswordProvider()) {
return false;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Oct 29, 5:36 PM (2 w, 12 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6753750
Default Alt Text
D10331.id24875.diff (1 KB)
Attached To
Mode
D10331: Allow passwords to be edited even if `account.editable` is `false`
Attached
Detach File
Event Timeline
Log In to Comment