Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pinry doesn't work with PUBLIC set to False #203

Closed
TeMPOraL opened this issue May 29, 2020 · 5 comments
Closed

Pinry doesn't work with PUBLIC set to False #203

TeMPOraL opened this issue May 29, 2020 · 5 comments

Comments

@TeMPOraL
Copy link

TeMPOraL commented May 29, 2020

Almost every request, including the API call necessary to log the user in, 500s with the following error:

NoReverseMatch at /api/v2/profile/users/

Reverse for 'private' not found. 'private' is not a valid view function or pattern name.

Done on fresh checkout of the master branch from ~1 hour ago, deployed via docker according to the documentation.

@winkidney
Copy link
Member

Thanks for your feedback, will be tested once I have time.

@winkidney
Copy link
Member

Have ever tried to register or login?

@winkidney
Copy link
Member

Add workaround for it, you could register or login at non-public mode now.
Please checkout the latest master branch (or just wait for the docker-build to finish).

@TeMPOraL
Copy link
Author

TeMPOraL commented Jun 1, 2020

Have ever tried to register or login?

Yes, in my initial attempt I switched to PUBLIC=False only after creating the first account. After doing that, I could no longer log in or register a new account.

Related, it seems to me that without this feature, private boards/pins don't work either, as they get shown on the front page even if logged out.

Thanks for the workaround, I'll test it.

@winkidney
Copy link
Member

Private pin/board works for me on my own instance pin.37soloist.com. After I logout, the private pins and boards were hidden in the page.

If you want to set private, please make the pin this status:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants