diff --git a/plinth/modules/backups/static/backups_add_remote_repository.js b/plinth/modules/backups/static/backups_add_remote_repository.js index 720a247e9..3377259e3 100644 --- a/plinth/modules/backups/static/backups_add_remote_repository.js +++ b/plinth/modules/backups/static/backups_add_remote_repository.js @@ -23,8 +23,8 @@ */ document.addEventListener('DOMContentLoaded', () => { - const keyAuth = document.getElementById('id_ssh_auth_type_key'); - const passwordAuth = document.getElementById('id_ssh_auth_type_password'); + const keyAuth = document.getElementById('id_ssh_auth_type_0'); + const passwordAuth = document.getElementById('id_ssh_auth_type_1'); const sshPasswordField = document.getElementById('id_ssh_password'); const encryptionType = document.getElementById('id_encryption'); const encryptionPassphraseField = document.getElementById('id_encryption_passphrase');