Set Welcome Page to Login, Strip Login on menu and header

Added by Dan May over 1 year ago

Hoping someone out there can help.

I am new to Redmine, running on AWS Lightsail with Bitnami. Currently using the Flatly Light theme.

I am building a private only site and I am hoping to accomplish two things:

1. When someone visits the site, it goes directly to the login page. (I think I figured out how to do this using routes.rb but if there is a better way I'd love to know.

2. The only thing I want on the login page is the credentials box (username and password entry fields), no menu or menu button (hamburger in flatly light) and no header.

Any help or direction anyone can point me in would be greatly appreciated.

Cheers!

Replies (2)

RE: Set Welcome Page to Login, Strip Login on menu and header - Added by Davide Giacometti over 1 year ago

Hi,

try the following settings in Administration > Settings > Authentication tab:
  • Authentication required yes
  • Self-registration disbled

Davide

RE: Set Welcome Page to Login, Strip Login on menu and header - Added by Akiko Takano over 1 year ago

Hi, Dan.

no menu or menu button (hamburger in flatly light) and no header.

If you can edit your CSS file (such as application.css), how about?

body.controller-account.action-login #header,
body.controller-account.action-login #top-menu {
  display: none;
}

/*--- Also hide footer on login page ---*/
body.controller-account.action-login #foote {
   display: none;
}

(1-2/2)