Open DivineDominion opened 2 years ago
For an internal wiki, we wanted to not render any page contents unless the visitor is logged-in.
So I extracted the state management logic, refactored things a bit, and introduced a new $mode = 'private'; that renders a static placeholder text.
$mode = 'private';
?createUser
With the standard set of files from this repo, /notfound shows the same placeholder. So no spying on paths!
/notfound
@til-schneider What do you think about the suggestions? We've been trying this internally and it worked quite well so far
For an internal wiki, we wanted to not render any page contents unless the visitor is logged-in.
So I extracted the state management logic, refactored things a bit, and introduced a new
$mode = 'private';
that renders a static placeholder text.Features
?createUser
pagesEnglish/German i18n
Does not expose if the URL exists
With the standard set of files from this repo,
/notfound
shows the same placeholder. So no spying on paths!