diff options
author | Joas Schilling <coding@schilljs.com> | 2021-04-01 11:48:58 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2021-04-01 11:48:58 +0300 |
commit | afcee9b763e1d0a834555f1a8fa8c2393af1f4bf (patch) | |
tree | 5e910096688846f1f30e7e14ad23621472d9b351 /templates | |
parent | 4430d2b4977948d993425e3b2d8bb65aed6bc2f0 (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.php | 4 |
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')); ?> |