aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/www/policy/public/auth/login.php
blob: c86bf24b855b0b8b44b97f6b59ecb0d6621081bf (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 ($_SESSION['authStatus'] == _AUTH_FAILURE) {
	putElfelejtettJelszoForm($ADAT);
    }

?>