From 87cdfc1751d1e2f16cf651393049c5f6fb1a8efb Mon Sep 17 00:00:00 2001 From: friendica Date: Sat, 15 Nov 2014 14:03:28 -0800 Subject: doc updates --- doc/html/auth_8php.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'doc/html/auth_8php.html') diff --git a/doc/html/auth_8php.html b/doc/html/auth_8php.html index 6df3cfea4..644e47434 100644 --- a/doc/html/auth_8php.html +++ b/doc/html/auth_8php.html @@ -122,15 +122,15 @@ Functions  account_verify_password ($email, $pass)  Verify login credentials. More...
  -if((x($_POST, 'auth-params'))&&$_POST['auth-params']===
+if((x($_POST, 'auth-params'))&&$_POST['auth-params']===
'login') match_openid ($authid)  Returns the channel_id for a given openid_identity. More...
  - @@ -183,7 +183,7 @@ Variables

Variables

if((isset($_SESSION))&&(x($_SESSION,
-'authenticated'))&&((!(x($_POST,
+
if((isset($_SESSION))&&(x($_SESSION,
+'authenticated'))&&((!(x($_POST,
'auth-params')))||($_POST['auth-params']!==
'login'))) 
else
 
- + @@ -233,7 +233,7 @@ Variables
if ((x($_POST, 'auth-params'))&&$_POST['auth-params']=== 'login') match_openid if ((x($_POST, 'auth-params'))&&$_POST['auth-params']=== 'login') match_openid (   $authid)
- +
if ((isset($_SESSION))&&(x($_SESSION, 'authenticated'))&&((!(x($_POST, 'auth-params')))||($_POST['auth-params']!== 'login'))) elseif ((isset($_SESSION))&&(x($_SESSION, 'authenticated'))&&((!(x($_POST, 'auth-params')))||($_POST['auth-params']!== 'login'))) else
@@ -245,7 +245,7 @@ Variables
-
if((x($_POST, 'password')) && strlen($_POST['password']))
+
if((x($_POST, 'password')) && strlen($_POST['password']))
$encrypted = hash('whirlpool', trim($_POST['password']))

Inline - not a function look for auth parameters or re-validate an existing session also handles logout

-- cgit v1.2.3