fix: prevent Firestore access for unverified users and add password prompt for resend
This commit is contained in:
1 parent
81beeeee70
commit
90adc2eb32
3 files changed
+31
-4
No files matched your search
+1
-1
@@ -44,7 +44,7 @@ export default function Home() {
|
||||
|
||||
// Load prayers from Firestore
|
||||
useEffect(() => {
|
||||
if (!user) return;
|
||||
if (!user || !user.emailVerified) return;
|
||||
|
||||
const loadPrayers = async () => {
|
||||
try {
|
||||
|
||||
Reference in new issue
Block a user