CoreFiles by mySites.guru
default.php23 lines, 615 bytes, from Joomla_5.2.6-Stable-Full_Package.zip
Raw History Compare with 5.2.5
md5
514e277c3a99d6bf18fe70454e07497c
sha1
90f9dd7e53cc6040b241f58648a617ffc0910f61
sha256
93b0eb364d066bfd0a563f6f66b4fdae83e09facaa849bc121244d50b174f21b
<?php

/**
 * @package     Joomla.Site
 * @subpackage  com_users
 *
 * @copyright   (C) 2009 Open Source Matters, Inc. <https://www.joomla.org>
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

/** @var \Joomla\Component\Users\Site\View\Login\HtmlView $this */

$cookieLogin = $this->user->get('cookieLogin');

if (!empty($cookieLogin) || $this->user->guest) {
    // The user is not logged in or needs to provide a password.
    echo $this->loadTemplate('login');
} else {
    // The user is already logged in.
    echo $this->loadTemplate('logout');
}

The same content is in 20 releases, Joomla 5.2.0-alpha1 to 5.2.6. See them all, or every version of this file.