mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-10-08 13:17:12 +00:00
Fix u2f with nginx rp
This commit is contained in:
1 parent
d6cdc846d8
commit
e2dc15774f
3 files changed
+5
-5
No files matched your search
@@ -26,8 +26,7 @@ require_once 'inc/lib/Yubico.php';
|
||||
|
||||
// U2F API
|
||||
require_once 'inc/lib/U2F.php';
|
||||
$scheme = isset($_SERVER['HTTPS']) ? "https://" : "http://";
|
||||
$u2f = new u2flib_server\U2F($scheme . $_SERVER['HTTP_HOST']);
|
||||
$u2f = new u2flib_server\U2F('https://' . $_SERVER['HTTP_HOST']);
|
||||
|
||||
// PDO
|
||||
$dsn = "$database_type:host=$database_host;dbname=$database_name";
|
||||
|
||||
Reference in new issue
Block a user