pull some template strings

This commit is contained in:
Friendika 2010-11-16 23:26:14 -08:00
parent f9d5aafe9c
commit c2086ec50e
5 changed files with 26 additions and 18 deletions

View file

@ -69,7 +69,16 @@ else {
if(x($_POST,'password'))
$encrypted = hash('whirlpool',trim($_POST['password']));
else {
if((x($_POST,'auth-params')) && $_POST['auth-params'] === 'login') {
require_once('library/openid.php');
$openid = new LightOpenID;
$openid->identity = trim($_POST['login-name']);
$a = get_app();
$openid->returnUrl = $a->get_baseurl() . '/openid';
goaway($openid->authUrl());
}
}
if((x($_POST,'auth-params')) && $_POST['auth-params'] === 'login') {
// process login request