Skip to content
Snippets Groups Projects
Commit 60c6eb4b authored by Jared Hancock's avatar Jared Hancock
Browse files

auth: Always show agent login link

Previously, if the enduser registration mode were set to something other
than `public`, the agent sign-in link would not be shown. Now, the agent
sign-in link is always shown on the enduser sign-in page.
parent 7044ac71
No related branches found
No related tags found
No related merge requests found
...@@ -51,13 +51,14 @@ if (count($ext_bks)) { ...@@ -51,13 +51,14 @@ if (count($ext_bks)) {
} }
if ($cfg && $cfg->isClientRegistrationEnabled()) { if ($cfg && $cfg->isClientRegistrationEnabled()) {
if (count($ext_bks)) echo '<hr style="width:70%"/>'; ?> if (count($ext_bks)) echo '<hr style="width:70%"/>'; ?>
<div style="margin-bottom: 5px">
Not yet registered? <a href="account.php?do=create">Create an account</a> Not yet registered? <a href="account.php?do=create">Create an account</a>
<br/> </div>
<div style="margin-top: 5px;"> <?php } ?>
<div>
<b>I'm an agent</b> <b>I'm an agent</b>
<a href="<?php echo ROOT_PATH; ?>scp">sign in here</a> <a href="<?php echo ROOT_PATH; ?>scp">sign in here</a>
</div> </div>
<?php } ?>
</div> </div>
</div> </div>
</form> </form>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment