mirror of
https://github.com/friendica/friendica
synced 2025-04-26 15:10:11 +00:00
more lint
This commit is contained in:
parent
ceabd7629b
commit
f0b6400584
20 changed files with 114 additions and 130 deletions
|
@ -2,9 +2,9 @@
|
|||
|
||||
// login/logout
|
||||
|
||||
if((isset($_SESSION)) && (x($_SESSION,'authenticated')) && (! ($_POST['auth-params'] === 'login'))) {
|
||||
if((isset($_SESSION)) && (x($_SESSION,'authenticated')) && ((! (x($_POST,'auth-params'))) || ($_POST['auth-params'] !== 'login'))) {
|
||||
|
||||
if($_POST['auth-params'] === 'logout' || $a->module === 'logout') {
|
||||
if(((x($_POST,'auth-params')) && ($_POST['auth-params'] === 'logout')) || ($a->module === 'logout')) {
|
||||
|
||||
// process logout request
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue