fix: allowing forum actions for non-ENS

This commit is contained in:
Danish Arora 2025-09-15 14:03:31 +05:30
parent 243403652e
commit 4082b0591b
No known key found for this signature in database
GPG Key ID: 1C6EF37CDAE1426E

View File

@ -55,7 +55,7 @@ export class ForumActions {
case 'createPost':
case 'createComment':
case 'vote':
if (verificationStatus === EVerificationStatus.WALLET_UNCONNECTED) {
if (!_isAuthenticated || !currentUser) {
return {
valid: false,
error: 'Connect your wallet to perform this action',