Closed ashishjur closed 4 years ago
To test it on local, you can set all user's accepted disclaimer to 0 in the DB.
update users set accepted_disclaimer=0;
Or for a single user:
update users set accepted_disclaimer=0 where wallet="0xA929A33Fa2f3979Bb9CAC7951e91EB10B1483030";
And then see how disclaimer modal and footer work. Existing users and advocates created via polling service input should be able to accept disclaimer now.
It will show disclaimer modal on
missing backend API
missing backend API
Deployed on Temp
Server
If a user is created via a non dApp method (e.g. making a wallet an Advocate through smart contract), then dApp doesn't accept the disclaimer.
Expected Behavior
Irrespective of the user's existence in DB, if the disclaimer is not accepted, the user should be able to accept it from dApp.
Current Behavior
accepted_disclaimer: true
asaccepted_terms
must also be true.Possible Solution
Steps to Reproduce
Environment: Temp