pastefy icon indicating copy to clipboard operation
pastefy copied to clipboard

[Feature Request] Disable Signups & Password Protection

Open aazam476 opened this issue 2 years ago • 3 comments

Hi. I do not want random people creating pastes on my server and was wondering if you could make a way so that I can disable new registrations after I register myself. However, I do want a way for people without an account to read my pastes. Lastly, if you could make a way so that I could password protect some of my pastes, like Privatebin does, that would be great! Thanks!

aazam476 avatar Jun 16 '22 12:06 aazam476

To specify, I wanted to choose one username in Pastefy that the Interaapps OAuth would return what would be the only account that would be able to edit or make pastes. Any other logins from any other account would be told that they have been denied access. However, in order to view paste, I would like people not to need the account or any Interaapps account.

aazam476 avatar Jun 21 '22 12:06 aazam476

Hey, there is a way to password protect your pastes: image and there is currently no way to enable the login just for some users. If you want to disable the creation of pastes without login you can set PASTEFY_LOGIN_REQUIRED_CREATE to true.

JulianFun123 avatar Jun 22 '22 12:06 JulianFun123

A way of enabling logging just for some users has been added https://github.com/interaapps/pastefy/releases/tag/6.5.0

JulianFun123 avatar Jun 29 '22 23:06 JulianFun123