Commit 5be78c3
authored
docs(auth): clarify fetchSignInMethodsForEmail behavior with email enumeration protection
This update enhances the JSDoc comment for fetchSignInMethodsForEmail by explaining its behavior when "Email Enumeration Protection" is enabled in Firebase Authentication settings (which is the default). It notes that the method may return an empty array even for existing accounts when called from an unauthenticated context. This clarification aims to prevent confusion and potential misuse that could lead to security vulnerabilities.1 parent 08cee09 commit 5be78c3
1 file changed
Lines changed: 14 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2096 | 2096 | | |
2097 | 2097 | | |
2098 | 2098 | | |
| 2099 | + | |
| 2100 | + | |
| 2101 | + | |
| 2102 | + | |
| 2103 | + | |
| 2104 | + | |
| 2105 | + | |
2099 | 2106 | | |
2100 | 2107 | | |
2101 | 2108 | | |
2102 | 2109 | | |
2103 | 2110 | | |
2104 | | - | |
2105 | | - | |
2106 | | - | |
| 2111 | + | |
| 2112 | + | |
| 2113 | + | |
| 2114 | + | |
| 2115 | + | |
2107 | 2116 | | |
2108 | 2117 | | |
2109 | 2118 | | |
2110 | | - | |
2111 | | - | |
| 2119 | + | |
| 2120 | + | |
2112 | 2121 | | |
2113 | 2122 | | |
2114 | 2123 | | |
| |||
0 commit comments