mailcow/data
El-Virus ea1a02bd7d
Fix "The operation is insecure." when trying to register fido2 device.
navigator.credentials.create(); Doesn't accept a port in the "id" parameter. So, when trying to register a fido2 device via WebAuthn throws: "The operation is insecure." on firefox and "The relying party ID is not a registrable domain suffix of, nor equal to the current domain." on Chrome or Edge.
This commit replaces `$_SERVER['HTTP_HOST']` with `$_SERVER['SERVER_NAME']` when initializing `$WebAuthn` which excludes the port to formulate correct requests.
Now Mailcow allows the registration of fido2 devices when running in a non-standard port(eg. 443).
2021-12-26 17:11:06 +01:00
..
assets [Config] Remove ejabberd from compose 2021-06-30 10:15:52 +02:00
conf [SOGo] Faster GC: fix for too many SQL connections 2021-12-12 10:42:53 +01:00
Dockerfiles Update SOGo to 5.3.0 (#4330) 2021-11-22 13:55:16 +01:00
hooks [SOGo] Added hooks support for SOGo image (#4181) 2021-07-28 21:41:44 +02:00
web Fix "The operation is insecure." when trying to register fido2 device. 2021-12-26 17:11:06 +01:00