Feat: Only allow authenticated users
-
@nebulon ah yes, that seems to be it. once I enabled public listing the login form did show the title and field for the username.
Thanks
-
@fbartels Ok this should be fixed with the latest package release now. Thanks for all the testing and reporting!
-
I am trying this out and have a few issues.
Enabling the public folder listing and setting access to user restricted, should not list the content until a user is logged in.
If I open the site in a new tab, it lists the files and shows a login button. Not expected.
If I open an incognito tab, it opens to a login page. As expected.
So the new tab should either give me a login page, or tell me I am logged in, if a browser session is being used to display the file listing.
-
I am trying this out and have a few issues.
Enabling the public folder listing and setting access to user restricted, should not list the content until a user is logged in.
If I open the site in a new tab, it lists the files and shows a login button. Not expected.
If I open an incognito tab, it opens to a login page. As expected.
So the new tab should either give me a login page, or tell me I am logged in, if a browser session is being used to display the file listing.
-
@robi can you explain the "Not expected" case a bit further. Which and where do you see a login screen? (The login button in the public folder listing on the top right will always be there, if that is what you mean)
@nebulon expectation is to not get a listing and a login prompt.
since I did, that means the session is being reused and I am logged in, yet the button shows as I am not logged in.
So maybe the fix here is to detect login state and adjust the button accordingly; perhaps a logout instead.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login
