auth : Add the application name in authentication panel
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2234 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -49,6 +49,9 @@ class authentication
|
||||
);*/
|
||||
public $authServers = array ();
|
||||
|
||||
/** The application Name displayed on authentication page */
|
||||
public $appName = null;
|
||||
|
||||
public function __construct ($route)
|
||||
{
|
||||
$this->route = $route;
|
||||
@@ -90,6 +93,8 @@ class authentication
|
||||
$alreadyAuth = false;
|
||||
if ($pre->email !== "anonymous")
|
||||
$alreadyAuth = $pre->email;
|
||||
if ($this->appName !== null)
|
||||
$auth->appName = $this->appName;
|
||||
echo $auth->pageHTML ($this->route->baseURL(), $message, $url,
|
||||
$alreadyAuth);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user