diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-06-07 13:31:39 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-06-07 13:35:43 +0200 |
commit | 2b19add6b07d8339e4d6dbc63434142ca5022170 (patch) | |
tree | b2c88fa2b89fe450027f1c43b674b47e5d0eb920 /apps/files_external/js | |
parent | 6f5c7c1888bbc5a6431ca2cc701a1c58dfde4e91 (diff) | |
download | nextcloud-server-2b19add6b07d8339e4d6dbc63434142ca5022170.tar.gz nextcloud-server-2b19add6b07d8339e4d6dbc63434142ca5022170.zip |
Add SFTP auth mechanism to use a password and public key for SFTP
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/files_external/js')
-rw-r--r-- | apps/files_external/js/public_key.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/js/public_key.js b/apps/files_external/js/public_key.js index 669f1095735..6856c7d021f 100644 --- a/apps/files_external/js/public_key.js +++ b/apps/files_external/js/public_key.js @@ -1,7 +1,7 @@ $(document).ready(function() { OCA.External.Settings.mountConfig.whenSelectAuthMechanism(function($tr, authMechanism, scheme, onCompletion) { - if (scheme === 'publickey') { + if (scheme === 'publickey' && authMechanism === 'publickey::rsa') { var config = $tr.find('.configuration'); if ($(config).find('[name="public_key_generate"]').length === 0) { setupTableRow($tr, config); |