supertokens / supertokens-auth-react

ReactJS authentication module for SuperTokens
https://supertokens.com
Other
276 stars 84 forks source link

fix: only show continue with passwordless if email pwless is enabled #859

Closed porcellus closed 2 weeks ago

porcellus commented 2 weeks ago

Summary of change

Fixed an issue where we showed the "continue with passwordless" button during sign-in even if email-based passwordless was disabled by the tenant configuration.

Related issues

Test Plan

Documentation changes

(If relevant, please create a PR in our docs repo, or create a checklist here highlighting the necessary changes)

Checklist for important updates

Remaining TODOs for this PR

github-actions[bot] commented 2 weeks ago

size-limit report 📦

Path Size
lib/build/index.js 22.9 KB (0%)
recipe/session/index.js 23.64 KB (0%)
recipe/session/prebuiltui.js 28.19 KB (0%)
recipe/thirdparty/index.js 31.48 KB (0%)
recipe/emailpassword/index.js 11.07 KB (0%)
recipe/emailverification/index.js 7.84 KB (0%)
recipe/passwordless/index.js 14.88 KB (0%)
recipe/emailverification/prebuiltui.js 32.94 KB (0%)
recipe/thirdparty/prebuiltui.js 51.76 KB (0%)
recipe/emailpassword/prebuiltui.js 39.01 KB (0%)
recipe/passwordless/prebuiltui.js 126.82 KB (+0.02% 🔺)
recipe/multitenancy/index.js 6.67 KB (0%)
recipe/multifactorauth/index.js 10.9 KB (0%)
recipe/multifactorauth/prebuiltui.js 31.87 KB (0%)