summaryrefslogtreecommitdiffstats
path: root/settings/Controller/UsersController.php
diff options
context:
space:
mode:
authorBjoern Schiessle <bjoern@schiessle.org>2017-04-28 18:05:55 +0200
committerMorris Jobke <hey@morrisjobke.de>2017-04-28 23:41:38 -0300
commitf488258d645b7c78775479684b7c9621eed9ce40 (patch)
tree87a7a2cf2e4684405ca05b810970aa4dc32f5465 /settings/Controller/UsersController.php
parente3b10f3e6f2abace0d82c3c0ace73e171f3f6067 (diff)
downloadnextcloud-server-f488258d645b7c78775479684b7c9621eed9ce40.tar.gz
nextcloud-server-f488258d645b7c78775479684b7c9621eed9ce40.zip
send signature to lookup server
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'settings/Controller/UsersController.php')
-rw-r--r--settings/Controller/UsersController.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/settings/Controller/UsersController.php b/settings/Controller/UsersController.php
index eb169afdc46..7f6602a510c 100644
--- a/settings/Controller/UsersController.php
+++ b/settings/Controller/UsersController.php
@@ -544,12 +544,14 @@ class UsersController extends Controller {
$code = $codeMd5;
$type = AccountManager::PROPERTY_TWITTER;
$data = $accountData[AccountManager::PROPERTY_TWITTER]['value'];
+ $accountData[AccountManager::PROPERTY_TWITTER]['signature'] = $signature;
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 \'.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'];
+ $accountData[AccountManager::PROPERTY_WEBSITE]['signature'] = $signature;
break;
default:
return new DataResponse([], Http::STATUS_BAD_REQUEST);