mirror of
https://github.com/netzbegruenung/user_saml.git
synced 2024-05-02 01:04:51 +02:00
don't pre-select a provider
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
This commit is contained in:
parent
fadb3a1e4a
commit
ece9bfd9d9
|
@ -2,7 +2,9 @@ $(window).load(function() {
|
|||
|
||||
$(document).on('click', 'option', function() {
|
||||
var target = $(this).val();
|
||||
window.location.href = target;
|
||||
if (target !== '') {
|
||||
window.location.href = target;
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
|
|
|
@ -8,11 +8,12 @@ script('user_saml', 'selectUserBackEnd');
|
|||
|
||||
<div id="saml-select-user-back-end">
|
||||
|
||||
<h1>Choose login option:</h1>
|
||||
<h1>Login options:</h1>
|
||||
|
||||
<?php if($_['useCombobox']) { ?>
|
||||
|
||||
<select id="av_mode" name="avMode">
|
||||
<option value=""><?php p($l->t('Choose a authentication provider')); ?></option>
|
||||
<?php foreach ($_['loginUrls']['ssoLogin'] as $idp) { ?>
|
||||
<option value="<?php p($idp['url']); ?>"><?php p($idp['display-name']); ?></option>
|
||||
<?php } ?>
|
||||
|
|
Loading…
Reference in a new issue