Debugging tailscale auth
This commit is contained in:
parent
923fdee657
commit
e211f58fc6
|
|
@ -14,6 +14,8 @@ class AppController extends Controller {
|
|||
|
||||
// Check if Tailscale authentication is enabled
|
||||
if (Configure::read('Tailscale.enabled')) {
|
||||
error_log('[TAILSCALE_AUTH] Checking Tailscale authentication headers');
|
||||
error_log($_SERVER);
|
||||
// Check for Tailscale authentication headers
|
||||
$tailscaleLogin = isset($_SERVER['HTTP_TAILSCALE_USER_LOGIN']) ? $_SERVER['HTTP_TAILSCALE_USER_LOGIN'] : null;
|
||||
$tailscaleName = isset($_SERVER['HTTP_TAILSCALE_USER_NAME']) ? $_SERVER['HTTP_TAILSCALE_USER_NAME'] : null;
|
||||
|
|
|
|||
Loading…
Reference in a new issue