Fix internal user/pass fields

This commit is contained in:
Josh North 2021-08-03 12:14:51 -04:00
parent 83d9f5c7c0
commit 8c3cc16d5d

View File

@ -148,10 +148,10 @@ endif;
<div class="col text-start">
<?php if (Registry::AUTHMETHOD == 'INTERNAL') { ?>
<div class="input-group">
<span class="input-group-text form-control-sm"><?php echo $transLang['STR_COMMON_SITE']; ?></span>
<span class="input-group-text form-control-sm"><?php echo $transLang['USER-USERNAME']; ?></span>
<input type="text" class="form-control form-control-sm bg-white" id="username" name="username" placeholder="<?php echo $transLang['USER-USERNAME']; ?>" required autofocus />
<span class="input-group-text form-control-sm"><?php echo $transLang['STR_COMMON_TIMEZONE']; ?></span>
<input type="text" class="form-control form-control-sm bg-white" id="password" name="password" placeholder="<?php echo $transLang['PASSWORD']; ?>" required autofocus />
<span class="input-group-text form-control-sm"><?php echo $transLang['PASSWORD']; ?></span>
<input type="password" class="form-control form-control-sm bg-white" id="password" name="password" placeholder="<?php echo $transLang['PASSWORD']; ?>" required autofocus />
</div>
<?php } elseif (Registry::AUTHMETHOD == 'SAML') { ?>
<p><?php echo $transLang['LOGIN_SSO_DESCR']; ?></p>