Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/registration.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-04-01 11:48:58 +0300
committerJoas Schilling <coding@schilljs.com>2021-04-01 11:48:58 +0300
commitafcee9b763e1d0a834555f1a8fa8c2393af1f4bf (patch)
tree5e910096688846f1f30e7e14ad23621472d9b351 /templates
parent4430d2b4977948d993425e3b2d8bb65aed6bc2f0 (diff)
Don't mention verification link when the login flow is used
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/form/email.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/form/email.php b/templates/form/email.php
index 01e2c56..855155b 100644
--- a/templates/form/email.php
+++ b/templates/form/email.php
@@ -20,9 +20,11 @@ style('registration', 'style');
<input type="submit" id="submit" value="<?php
if ($_['disable_email_verification'] === 'yes') {
p($l->t('Continue'));
+ } elseif ($_['is_login_flow']) {
+ p($l->t('Request verification code'));
} else {
p($l->t('Request verification link'));
- }?>" />
+ } ?>" />
<a id="lost-password-back" href="<?php print_unescaped(\OC::$server->getURLGenerator()->linkToRoute('core.login.showLoginForm')) ?>">
<?php p($l->t('Back to login')); ?>