(bug): Paywalls within blogs don't work.
Summary
It appears that the paywall is not working for blogs, when set within the blog posting screen its self. You can set the paywall and it will work if you do it by editing the post on your newsfeed however.
NOTE: Canary mode is turned on.
Steps to reproduce
- Create a new blog
- Add a title, upload a banner image and type "test" in the content input field.
- Click the "Paywall" button and put the blog behind a 1 token paywall.
- Click "Publish".
- Log out and log into a different account which has never wired tokens to the first account.
- Go to the first users newsfeed
- Observe the blog is not hidden behind a paywall
[original steps]
- Create a new blog.
- Add a title, upload a banner image and type "test" in the content input field.
- Click the "Paywall" button and put the blog behind a 1 token paywall.
- Click "Publish".
- Log out and log into a different account which has never wired tokens to the first account.
- Open the blog posted by the first account.
- Click "Unlock".
Platform information
Windows 10 / Chrome (Version 73.0.3683.86)
What is the current bug behavior?
Paywalls within blogs don't work. Users who have never wired tokens to you can unlock the paywall which can be set within a blog.
What is the expected correct behavior?
Users who have never wired tokens to you should not be able to unlock the paywall which can be set within a blog.
Relevant logs and/or screenshots
See on right hand side, the blog screen does show a paywall as having been set, on the left however on a fresh account the blog is still visible.
Possible fixes
(If you can, link to the line of code that might be responsible for the problem)