aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/mayor-base/www/policy/public/auth/login.php
blob: c80a028851eb361ed3fa917508e63622109ce4a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php

    if (_RIGHTS_OK !== true) die();

    global $userAccount, $userPassword, $toPolicy, $toPSF, $toSkin, $salt;
    global $ADAT;

    if (defined('_USERACCOUNT') && (!is_string(_USERACCOUNT) || _USERACCOUNT=='') )
	putLoginForm($userAccount, $toPolicy, $toPSF, $toSkin, $salt);
    else
	putAlreadyLoggedIn();

    if (defined('_AUTH_FAILURE') && $_SESSION['authStatus'] == _AUTH_FAILURE) {
	putElfelejtettJelszoForm($ADAT);
    }

?>