summaryrefslogtreecommitdiff
path: root/app/Auth/ReverseProxyAuth.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-12-06 14:48:59 -0500
committerFrederic Guillot <fred@kanboard.net>2015-12-06 14:48:59 -0500
commit70c65268fe017014b97dbc18e02588b8ed1d9a19 (patch)
treed843b97b1458e696f7e9e993295e5961cc06903d /app/Auth/ReverseProxyAuth.php
parent6d4286ec664f1df8b0e97b759075afbf34d9620a (diff)
Update plugin doc
Diffstat (limited to 'app/Auth/ReverseProxyAuth.php')
-rw-r--r--app/Auth/ReverseProxyAuth.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/Auth/ReverseProxyAuth.php b/app/Auth/ReverseProxyAuth.php
index 06573edb..b9730c5c 100644
--- a/app/Auth/ReverseProxyAuth.php
+++ b/app/Auth/ReverseProxyAuth.php
@@ -8,7 +8,7 @@ use Kanboard\Core\Security\SessionCheckProviderInterface;
use Kanboard\User\ReverseProxyUserProvider;
/**
- * ReverseProxy Authentication Provider
+ * Reverse-Proxy Authentication Provider
*
* @package auth
* @author Frederic Guillot
@@ -18,10 +18,10 @@ class ReverseProxyAuth extends Base implements PreAuthenticationProviderInterfac
/**
* User properties
*
- * @access private
+ * @access protected
* @var \Kanboard\User\ReverseProxyUserProvider
*/
- private $user = null;
+ protected $userInfo = null;
/**
* Get authentication provider name
@@ -45,7 +45,7 @@ class ReverseProxyAuth extends Base implements PreAuthenticationProviderInterfac
$username = $this->request->getRemoteUser();
if (! empty($username)) {
- $this->user = new ReverseProxyUserProvider($username);
+ $this->userInfo = new ReverseProxyUserProvider($username);
return true;
}
@@ -71,6 +71,6 @@ class ReverseProxyAuth extends Base implements PreAuthenticationProviderInterfac
*/
public function getUser()
{
- return $this->user;
+ return $this->userInfo;
}
}