aboutsummaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorBjoern Schiessle <bjoern@schiessle.org>2017-04-27 17:58:30 +0200
committerMorris Jobke <hey@morrisjobke.de>2017-04-28 23:41:38 -0300
commit5464b14ef1a3c2326820ae581b49931226502a46 (patch)
treee791ac659d359c7363895c07fc4a117b816c52c7 /settings
parent7340d6a56c1b4becb75da41b33239357efc530a5 (diff)
downloadnextcloud-server-5464b14ef1a3c2326820ae581b49931226502a46.tar.gz
nextcloud-server-5464b14ef1a3c2326820ae581b49931226502a46.zip
fix path to the website proof
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'settings')
-rw-r--r--settings/BackgroundJobs/VerifyUserData.php2
-rw-r--r--settings/Controller/UsersController.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/settings/BackgroundJobs/VerifyUserData.php b/settings/BackgroundJobs/VerifyUserData.php
index f044c9f31fb..4a32398f6c4 100644
--- a/settings/BackgroundJobs/VerifyUserData.php
+++ b/settings/BackgroundJobs/VerifyUserData.php
@@ -134,7 +134,7 @@ class VerifyUserData extends Job {
$result = false;
- $url = rtrim($argument['data'], '/') . '/well-known/' . 'CloudIdVerificationCode.txt';
+ $url = rtrim($argument['data'], '/') . '/.well-known/' . 'CloudIdVerificationCode.txt';
$client = $this->httpClientService->newClient();
try {
diff --git a/settings/Controller/UsersController.php b/settings/Controller/UsersController.php
index f481629e98b..eb169afdc46 100644
--- a/settings/Controller/UsersController.php
+++ b/settings/Controller/UsersController.php
@@ -547,7 +547,7 @@ class UsersController extends Controller {
break;
case 'verify-website':
$accountData[AccountManager::PROPERTY_WEBSITE]['verified'] = AccountManager::VERIFICATION_IN_PROGRESS;
- $msg = $this->l10n->t('In order to verify your Website store following content in your web-root at \'CloudIdVerificationCode.txt\' (please make sure that the complete text is in one line):');
+ $msg = $this->l10n->t('In order to verify your Website store following content in your web-root at \'.well-known/CloudIdVerificationCode.txt\' (please make sure that the complete text is in one line):');
$type = AccountManager::PROPERTY_WEBSITE;
$data = $accountData[AccountManager::PROPERTY_WEBSITE]['value'];
break;