CMS  Version 3.9
authenticate.inc
Go to the documentation of this file.
1 <?php
2 Fakoli::using("login");
3 
4 if ($user)
5 {
6  session_destroy();
7  unset($user);
8 }
9 
11 $result = $mgr->validateAjaxLogin();
12 
static using()
Import the datamodels, views and manifest for the specified component(s).
Definition: core.inc:116
static end($message="")
Use this method to terminate execution of a script instead of using the php keywords exit() or die().
Definition: core.inc:1149
LoginManager provides the authentication workflow for logging users into the system.
Definition: login.inc:95
global $user
$result
if($user) $mgr