diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2018-10-10 14:12:10 +0200 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2018-10-10 14:12:10 +0200 |
commit | 20a5ce217a47c9e3d5dd4016e96e0cc557c51417 (patch) | |
tree | 5dbcb468ce4dab6cb0d205e5e2b3818e7ec2345d /settings/js/admin.js | |
parent | d143b43a0454528905c751579b4ab482abe39f36 (diff) | |
download | nextcloud-server-20a5ce217a47c9e3d5dd4016e96e0cc557c51417.tar.gz nextcloud-server-20a5ce217a47c9e3d5dd4016e96e0cc557c51417.zip |
Add check for well known URL of WebFinger in the settings overview
If the WebFinger service is not set in Nextcloud configuration no check
is performed.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'settings/js/admin.js')
-rw-r--r-- | settings/js/admin.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/settings/js/admin.js b/settings/js/admin.js index de5bc2b9537..35f3d949ab6 100644 --- a/settings/js/admin.js +++ b/settings/js/admin.js @@ -248,13 +248,14 @@ $(document).ready(function(){ // run setup checks then gather error messages $.when( OC.SetupChecks.checkWebDAV(), + OC.SetupChecks.checkWellKnownUrl('/.well-known/webfinger', oc_defaults.docPlaceholderUrl, $('#postsetupchecks').data('check-wellknown') === true && !!oc_appconfig.core.public_webfinger, 200), OC.SetupChecks.checkWellKnownUrl('/.well-known/caldav', oc_defaults.docPlaceholderUrl, $('#postsetupchecks').data('check-wellknown') === true), OC.SetupChecks.checkWellKnownUrl('/.well-known/carddav', oc_defaults.docPlaceholderUrl, $('#postsetupchecks').data('check-wellknown') === true), OC.SetupChecks.checkSetup(), OC.SetupChecks.checkGeneric(), OC.SetupChecks.checkDataProtected() - ).then(function(check1, check2, check3, check4, check5, check6) { - var messages = [].concat(check1, check2, check3, check4, check5, check6); + ).then(function(check1, check2, check3, check4, check5, check6, check7) { + var messages = [].concat(check1, check2, check3, check4, check5, check6, check7); var $el = $('#postsetupchecks'); $('#security-warning-state-loading').addClass('hidden'); |