HomePhorge

Fix two Passphrase credential type issues

Description

Fix two Passphrase credential type issues

Summary:
Fixes T4991. Two issues:

  • These error messages pass an object to "%s", when they mean to pass a type constant.
  • The check for noncreatable credentials is incorrectly in the "edit" branch of the controller.

Test Plan:

  • Edited a "SSH Key on disk" credential.
  • Tried to create a credential with a bogus type.

Reviewers: btrahan, joshuaspence

Reviewed By: joshuaspence

Subscribers: epriestley

Maniphest Tasks: T4991

Differential Revision: https://secure.phabricator.com/D9299

Details

Provenance
epriestleyAuthored on May 26 2014, 5:46 AM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rPb7a8c0b20004: Fix references to `set-config --show` in docs
Branches
Unknown
Tags
Unknown

Event Timeline