supertokens / supertokens-auth-react

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

fix: tpep header with disabled emailpassword #770

Closed porcellus closed 10 months ago

porcellus commented 10 months ago

Summary of change

Fixes ThirdPartyEmailPassword rendering sign in/up switcher even with disabled email password. Instead it'll now render SignInAndUpHeader in this case (overrideable as ThirdPartySignInAndUpHeader)

Related issues

Test Plan

Updated existing test to check the header

Documentation changes

-

Checklist for important updates

github-actions[bot] commented 10 months ago

size-limit report 📦

Path Size
lib/build/index.js 14.19 KB (0%)
recipe/session/index.js 15.15 KB (0%)
recipe/session/prebuiltui.js 17.77 KB (0%)
recipe/thirdpartyemailpassword/index.js 29.71 KB (0%)
recipe/thirdparty/index.js 26.43 KB (0%)
recipe/emailpassword/index.js 10.01 KB (0%)
recipe/emailverification/index.js 7.26 KB (0%)
recipe/passwordless/index.js 63.47 KB (0%)
recipe/thirdpartypasswordless/index.js 84.2 KB (0%)
recipe/emailverification/prebuiltui.js 22.46 KB (0%)
recipe/thirdpartyemailpassword/prebuiltui.js 54.11 KB (+0.04% 🔺)
recipe/thirdparty/prebuiltui.js 38.52 KB (+0.03% 🔺)
recipe/emailpassword/prebuiltui.js 27.82 KB (0%)
recipe/passwordless/prebuiltui.js 103.03 KB (0%)
recipe/thirdpartypasswordless/prebuiltui.js 130.66 KB (+0.01% 🔺)
recipe/multitenancy/index.js 6.12 KB (0%)