Don't allow using passager if Crypto API is not present #50
Labels
bug
Something isn't working
hacktoberfest
Ideal issues to be completed during the hacktoberfest event
Bug issue
🐛 Describe the bug
When Passager is accessed from a browser which not supports the crypto web API, the app will load with apparent success, but will crash once a crypto operation is requested (i.e. during the login process).
🧑🏽🔧 To Reproduce
✅ Expected behavior
The app should display a message when used browser does not support the cypto API, not allowing to perform any kind of operation, and encouraging the user to user an updated browser.
📸 Screenshots
Does not apply.
💻 System information
Any old web browser which does not support the Crypto Web API.
💬 Additional context
Crypto Web API compatibility can be found here: https://developer.mozilla.org/en-US/docs/Web/API/Web_Crypto_API#browser_compatibility
The text was updated successfully, but these errors were encountered: