Skip to content
Snippets Groups Projects
Commit 7001d775 authored by Dorian Merz's avatar Dorian Merz
Browse files

refs #15245 [fid_bbi] fixup login form

parent eb61f287
No related merge requests found
......@@ -7,9 +7,10 @@
<input type="hidden" name="csrf" value="<?=$this->escapeHtmlAttr($account->getCsrfHash())?>" />
<div class="form-group">
<input class="btn btn-primary" type="submit" name="processLogin" value="<?=$this->transEsc('Login')?>">
<?php if ($account->supportsCreation()): ?>
<?php /*supportsCreation currently doesn't work in FidCore module cf. #15245
if ($account->supportsCreation('externalauth')): */?>
<a data-lightbox href="<?=$this->url('feedback-form')?>?id=RegistrationRequest"><?=$this->transEsc('Create New Account')?></a>
<?php endif; ?>
<?php /*endif; */?>
<?php if ($account->supportsRecovery()): ?>
<a class="btn btn-link" href="<?=$this->url('myresearch-recover') ?>?auth_method=<?=$account->getAuthMethod()?>"><?=$this->transEsc('Forgot Password')?></a>
<?php endif; ?>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment