kutt icon indicating copy to clipboard operation
kutt copied to clipboard

Not show the homepage with options if anonymous links disabled

Open djaffer opened this issue 2 years ago • 4 comments

Is there a way to not show the extra option on the homepage unless logged in. Just show by default the login page.

image

djaffer avatar Nov 28 '22 12:11 djaffer

@poeti8 I would like to work on this one if it sounds good to you

dkyeremeh avatar Dec 01 '22 17:12 dkyeremeh

@dkyeremeh please, go ahead.

poeti8 avatar Dec 02 '22 21:12 poeti8

@poeti8 PR created #661

dkyeremeh avatar Dec 07 '22 18:12 dkyeremeh

i added this lines to my nginx loadbalancer (provided by caprover in my case) which redirects root-visitors to the login ui. Since it is a next app, this does not prevent from navigating there via the menu. but its a simple solution and does the trick.

    location = / {
        return 301 /login;
    }

delasource avatar Mar 16 '23 11:03 delasource