2644 } |
2644 } |
2645 |
2645 |
2646 |
2646 |
2647 char *id = assistant_getcfg("Credentials identifier"); |
2647 char *id = assistant_getcfg("Credentials identifier"); |
2648 if(id && pwdstore_get(secrets, id)) { |
2648 if(id && pwdstore_get(secrets, id)) { |
2649 fprintf(stderr, "Credentials with this id already exist"); |
2649 fprintf(stderr, "Credentials with this id already exist.\n"); |
2650 return 1; |
2650 return 1; |
2651 } |
2651 } |
2652 |
2652 |
2653 char *user = assistant_getcfg("User"); |
2653 char *user = assistant_getcfg("User"); |
2654 char *password = util_password_input("Password: "); |
2654 char *password = util_password_input("Password: "); |