mirror of
https://github.com/nextcloud/server.git
synced 2024-08-26 17:55:04 +02:00
Improve readability of verify text
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
fe13f214fd
commit
e77ea713b2
@ -611,7 +611,7 @@ class UsersController extends Controller {
|
|||||||
switch ($account) {
|
switch ($account) {
|
||||||
case 'verify-twitter':
|
case 'verify-twitter':
|
||||||
$accountData[AccountManager::PROPERTY_TWITTER]['verified'] = AccountManager::VERIFICATION_IN_PROGRESS;
|
$accountData[AccountManager::PROPERTY_TWITTER]['verified'] = AccountManager::VERIFICATION_IN_PROGRESS;
|
||||||
$msg = $this->l10n->t('In order to verify your Twitter account post following tweet on Twitter (please make sure to post it without any line breaks):');
|
$msg = $this->l10n->t('In order to verify your Twitter account, post the following tweet on Twitter (please make sure to post it without any line breaks):');
|
||||||
$code = $codeMd5;
|
$code = $codeMd5;
|
||||||
$type = AccountManager::PROPERTY_TWITTER;
|
$type = AccountManager::PROPERTY_TWITTER;
|
||||||
$data = $accountData[AccountManager::PROPERTY_TWITTER]['value'];
|
$data = $accountData[AccountManager::PROPERTY_TWITTER]['value'];
|
||||||
@ -619,7 +619,7 @@ class UsersController extends Controller {
|
|||||||
break;
|
break;
|
||||||
case 'verify-website':
|
case 'verify-website':
|
||||||
$accountData[AccountManager::PROPERTY_WEBSITE]['verified'] = AccountManager::VERIFICATION_IN_PROGRESS;
|
$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):');
|
$msg = $this->l10n->t('In order to verify your Website, store the 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;
|
$type = AccountManager::PROPERTY_WEBSITE;
|
||||||
$data = $accountData[AccountManager::PROPERTY_WEBSITE]['value'];
|
$data = $accountData[AccountManager::PROPERTY_WEBSITE]['value'];
|
||||||
$accountData[AccountManager::PROPERTY_WEBSITE]['signature'] = $signature;
|
$accountData[AccountManager::PROPERTY_WEBSITE]['signature'] = $signature;
|
||||||
|
Loading…
Reference in New Issue
Block a user