Description

RequireLogin is a simple middleware which checks to see if the user is currently logged in. If not, the function returns a 302 redirect to the login page.

RequireLogin is referenced in 2 repositories

github.com/gophish/gophish github.com/ru-faraon/gophish