diff --git a/src/auth.ts b/src/auth.ts index e05d0d7..d562106 100644 --- a/src/auth.ts +++ b/src/auth.ts @@ -84,8 +84,8 @@ export function generate( server: [ { id: id, - username: username, - password: password + username: `${username}`, + password: `${password}` } ] } @@ -95,7 +95,7 @@ export function generate( if (gpgPassphrase) { const gpgServer = { id: 'gpg.passphrase', - passphrase: gpgPassphrase + passphrase: `${gpgPassphrase}` }; xmlObj.settings.servers.server.push(gpgServer); }