Class LoginController

    • Constructor Detail

      • LoginController

        @Autowired
        public LoginController​(EmailController emailController)
    • Method Detail

      • showSplash

        @RequestMapping("/")
        public java.lang.String showSplash()
        Get the index page
        Returns:
        redirect to the dashboard page
      • showLogin

        @RequestMapping("/login")
        public java.lang.String showLogin​(org.springframework.ui.Model model,
                                          @RequestParam(value="error",required=false,defaultValue="false")
                                          java.lang.Boolean hasError,
                                          java.security.Principal principal)
        Get the login page
        Parameters:
        model - model for the view
        hasError - Whether there's a login error
        principal - Currently logged in user. If set user will get sent to dashboard.
        Returns:
        Login page view name