attempted to create a new auth provider; observed that "enabled" ui element does not render. viewed existing auth provider and observed that "enabled" ui element still renders
Details
Details
- Reviewers
epriestley - Group Reviewers
Blessed Reviewers - Maniphest Tasks
- T12245: When creating an auth provider, the header says "Enabled" but you haven't created it yet
- Commits
- rP8dd7b544fe0a: Don't show an auth provider as enabled if it's still being created
- Required Signatures
L28 Phacility Individual Contributor License Agreement
Diff Detail
Diff Detail
- Repository
- rP Phabricator
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Maybe a little simpler like this? Should be the same logically, I think.
if (!$is_new) { if ($config->getIsEnabled()) { // ... } else { // ... } }