()
| 159 | * @returns true if the user is authenticated, false otherwise |
| 160 | */ |
| 161 | const isAuthenticated = () => { |
| 162 | const user = getCurrentUser(); |
| 163 | return user?.emailVerified; |
| 164 | }; |
| 165 | |
| 166 | /** |
| 167 | * Checks if the current user is logged in and their email is verified. |
nothing calls this directly
no test coverage detected