// PUBLIC public static Result showPublicLogin() { if (session().get("username") != null) { return redirect(routes.ApplicationController.publicMainMenu()); } return ok(publicLogin.render()); }
@Transactional public static Result publicLogin() { return login(false, routes.ApplicationController.publicMainMenu(), publicLogin.render()); }
@Transactional public static Result privateLogin() { return login(true, routes.ApplicationController.privateMainMenu(), privateLogin.render()); }