From 5464b14ef1a3c2326820ae581b49931226502a46 Mon Sep 17 00:00:00 2001 From: Bjoern Schiessle Date: Thu, 27 Apr 2017 17:58:30 +0200 Subject: [PATCH] fix path to the website proof Signed-off-by: Bjoern Schiessle --- settings/BackgroundJobs/VerifyUserData.php | 2 +- settings/Controller/UsersController.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/settings/BackgroundJobs/VerifyUserData.php b/settings/BackgroundJobs/VerifyUserData.php index f044c9f31f..4a32398f6c 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 f481629e98..eb169afdc4 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;