operation snakebite continued. openid now works for local accounts using the rmagic module and after storing your openid in pconfig. This is just an interesting but trivial (in the bigger scheme of things) side effect of snakebite. The snake hasn't even waken up yet.

This commit is contained in:
friendica
2014-02-17 19:48:05 -08:00
parent 7fc292831c
commit d6ab975b18
4 changed files with 125 additions and 2 deletions

View File

@@ -1924,3 +1924,7 @@ function in_arrayi($needle, $haystack) {
return in_array(strtolower($needle), array_map('strtolower', $haystack));
}
function normalise_openid($s) {
return trim(str_replace(array('http://','https://'),array('',''),$s),'/');
}