aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2016-06-27 15:47:01 -0400
committerPaul Selkirk <paul@psgd.org>2016-06-27 15:47:01 -0400
commit494081d72999946076995bacf844e022f1bc09b1 (patch)
tree785f9584b063fbdada056ada0bce0b3a53b51dde
parentaaf474313fc0f94bcfda96033d4be3986a366c07 (diff)
Remove old default user.
-rw-r--r--projects/hsm/mgmt-cli.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/projects/hsm/mgmt-cli.c b/projects/hsm/mgmt-cli.c
index 406d50c..7789dd1 100644
--- a/projects/hsm/mgmt-cli.c
+++ b/projects/hsm/mgmt-cli.c
@@ -222,12 +222,6 @@ static int check_auth(const char *username, const char *password)
{
hal_client_handle_t client = { -1 };
- /* Old default user. Remove this soon. */
- if ((strcasecmp(username, "ct") == 0) && (strcasecmp(password, "ct") == 0)) {
- user = HAL_USER_NORMAL;
- return CLI_OK;
- }
-
/* PIN-based login */
if (strcmp(username, "wheel") == 0)
user = HAL_USER_WHEEL;