mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 19:08:33 +08:00
457c2bf5bb
Some versions of Firefox will throw a TypeError when calling PublicKeyCredential.isConditionalMediationAvailable() because the method does not exist. That would previously lead to a "Sorry, an error has occurred." modal when trying to login. This commit fixes the issue by properly checking if the method exists. Since it only affects older Firefox versions, no tests are added. |
||
---|---|---|
.. | ||
images | ||
javascripts | ||
stylesheets |