dont normalise OpenID URLs and fallback to https if no protocol is specified

This commit is contained in:
Tobias Diekershoff 2015-04-14 12:27:36 +02:00
parent 178b7eba1b
commit 8367cadeef
2 changed files with 3 additions and 3 deletions

View file

@ -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");
}