Skip to content
Permalink
Browse files

Remove integration code for old ragna component that never got ported

  • Loading branch information...
flack committed Mar 11, 2019
1 parent 0479c12 commit 5ad14982955357f80f163bf82df774588c1322ea
@@ -62,8 +62,6 @@
* is used by default.
* - <b>int auth_login_form_httpcode</b>: HTTP return code used in MidCOM login screens,
* either 403 (403 Forbidden) or 200 (200 OK), defaulting to 403.
* - <b>boolean auth_openid_enable:</b> Whether to enable OpenID authentication handled with
* the net.nemein.openid library
*
* <b>Authentication Backend configuration: "simple"</b>
*
@@ -271,7 +269,6 @@ class midcom_config implements ArrayAccess
'auth_check_client_ip' => true,
'auth_allow_sudo' => true,
'auth_login_form_httpcode' => 403,
'auth_openid_enable' => false,
'auth_save_prev_login' => false,
'auth_allow_trusted' => false,
'person_class' => 'openpsa_person',
@@ -32,27 +32,4 @@
<input type="submit" name="midcom_services_auth_frontend_form_submit" id="midcom_services_auth_frontend_form_submit" value="<?php
echo midcom::get()->i18n->get_string('login', 'midcom'); ?>" />
</div>
</form>
<?php
if (midcom::get()->config->get('auth_openid_enable')) {
midcom::get()->componentloader->load_library('net.nemein.openid');
$url = midcom::get()->get_host_prefix() . 'midcom-exec-net.nemein.openid/initiate.php'; ?>
<!--<h3><?php echo midcom::get()->i18n->get_string('login using openid', 'net.nemein.openid'); ?></h3>-->

<div id="open_id_form">
<form action="<?php echo $url; ?>" method="post">
<label for="openid_url">
<p><?php echo midcom::get()->i18n->get_string('openid url', 'net.nemein.openid'); ?></p>
<input name="openid_url" id="openid_url" type="text" class="input" value="http://" />
</label>
<!--
<p class="helptext">
OpenID lets you safely sign in to different websites with a single password. <a href="https://www.myopenid.com/affiliate_signup?affiliate_id=17">Get an OpenID</a>.
</p>
-->
<input type="submit" name="midcom_services_auth_frontend_form_submit" id="openid_submit" value="<?php
echo midcom::get()->i18n->get_string('login', 'midcom'); ?>" />
</form>
</div>
<?php
} ?>
</form>
@@ -112,8 +112,7 @@ body
}

#content #login #password,
#content #login #username,
#content #login #openid_url
#content #login #username
{
background-position: top left;
background-repeat: no-repeat;
@@ -127,8 +126,7 @@ body
}

html > body #content #login #password,
html > body #content #login #username,
html > body #content #login #openid_url
html > body #content #login #username
{
width: 205px !important;
}
@@ -138,8 +136,7 @@ html > body #content #login #openid_url
background-image: url('images/input-password.png');
}

#content #login #username,
#content #login #openid_url
#content #login #username
{
background-image: url('images/input-username.png');
}

0 comments on commit 5ad1498

Please sign in to comment.
You can’t perform that action at this time.