Add "SSH:" in secret password label

This commit is contained in:
oupson 2023-03-05 09:47:56 +01:00
parent 9c02a19710
commit 905e7f438d
Signed by: oupson
GPG Key ID: 3BD88615552EFCB7
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ namespace Footerm.Services {
attributes["port"] = server.port.to_string(); attributes["port"] = server.port.to_string();
attributes["username"] = server.username; attributes["username"] = server.username;
var res = yield Secret.password_storev(this.password_schema, attributes, Secret.COLLECTION_DEFAULT, @"$(server.username)@$(server.hostname):$(server.port)", password, null); var res = yield Secret.password_storev(this.password_schema, attributes, Secret.COLLECTION_DEFAULT, @"SSH: $(server.username)@$(server.hostname):$(server.port)", password, null);
if (!res) { if (!res) {
throw new SecretError.FAILED_TO_STORE("Failed to store the password"); throw new SecretError.FAILED_TO_STORE("Failed to store the password");