diff options
author | Joas Schilling <coding@schilljs.com> | 2020-08-18 18:03:39 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-08-18 18:03:39 +0300 |
commit | 47b01c6639b7f4bce5cba07aaa679aa0286a4ffc (patch) | |
tree | a5d110e3f758b0ba3f7c8ee1e5d4ecfbcd1b2bcb /templates | |
parent | 459c9e0454b1ac1f9408fc8da393a830f68ce427 (diff) |
Fix minor issues
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/form.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/form.php b/templates/form.php index 51b21eb..c9e81b0 100644 --- a/templates/form.php +++ b/templates/form.php @@ -23,7 +23,7 @@ script('registration', 'form'); <img id="email-icon" class="svg" src="<?php print_unescaped(image_path('', 'actions/mail.svg')); ?>" alt=""/> </p> - <?php if ( \OC::$server->getConfig()->getAppValue('registration', 'email_is_login', '0') !== '1' ) { ?> + <?php if ($_['email_is_login']) { ?> <p class="groupmiddle"> <input type="text" name="username" id="username" value="<?php if (!empty($_['entered_data']['user'])) { p($_['entered_data']['user']); @@ -31,7 +31,7 @@ script('registration', 'form'); <label for="username" class="infield"><?php p($l->t('Username')); ?></label> <img id="username-icon" class="svg" src="<?php print_unescaped(image_path('', 'actions/user.svg')); ?>" alt=""/> </p> - <?php } ?> + <?php } ?> <p class="groupbottom"> <input type="password" name="password" id="password" placeholder="<?php p($l->t('Password')); ?>"/> |