{= # # # login.cfv # This template is called upon # a.) logout # b.) by defining the specific "?dp=login" query string # c.) upon password rest via the specific ?dp=login&lpage=..." query string # # include "templates.util.authentication_forms"; debug_message("\n\n#### login.cfv START \n"); string page; string access_code; if (?("command_line")) then ( debug_message("\n" . node_as_string("command_line") . "\n"); page = command_line.page; access_code = command_line.access_code; ) else ( debug_message("#### login.cfv - command_line DOES NOT EXIST \n"); ); if (page eq "forgot_password") then ( # Forgot password build_forgot_password_page(); ) else if (page eq "password_reset") then ( # Called from temporary URL provided to the user # via forget password handling. build_password_reset_page(access_code); ) else ( bool is_session_timed_out = false; bool is_auto_login = false; string username; string password; build_login_page(is_session_timed_out, is_auto_login, username, password); ); =}