diff --git a/mod/profile.php b/mod/profile.php
index bb45d1fec..e81cfd22c 100644
--- a/mod/profile.php
+++ b/mod/profile.php
@@ -44,7 +44,7 @@ function profile_init(&$a) {
if(x($a->profile,'openidserver'))
$a->page['htmlhead'] .= '' . "\r\n";
if(x($a->profile,'openid')) {
- $delegate = ((strstr($a->profile['openid'],'://')) ? $a->profile['openid'] : 'http://' . $a->profile['openid']);
+ $delegate = ((strstr($a->profile['openid'],'://')) ? $a->profile['openid'] : 'https://' . $a->profile['openid']);
$a->page['htmlhead'] .= '' . "\r\n";
}
// site block
diff --git a/mod/settings.php b/mod/settings.php
index 67f8d69a2..7db196b03 100644
--- a/mod/settings.php
+++ b/mod/settings.php
@@ -474,7 +474,7 @@ function settings_post(&$a) {
$str_contact_deny = perms2str($_POST['contact_deny']);
$openidserver = $a->user['openidserver'];
- $openid = normalise_openid($openid);
+ //$openid = normalise_openid($openid);
// If openid has changed or if there's an openid but no openidserver, try and discover it.
@@ -1002,7 +1002,7 @@ function settings_content(&$a) {
$openid_field = false;
}
else {
- $openid_field = array('openid_url', t('OpenID:'),$openid, t("\x28Optional\x29 Allow this OpenID to login to this account."));
+ $openid_field = array('openid_url', t('OpenID:'),$openid, t("\x28Optional\x29 Allow this OpenID to login to this account."), "", "", "url");
}