I am running into an issue with a basic log in structure, wondering if
anyone has any ideas?
I am calling the doLogin function on form submit, but when the uname
and pword comes back empty, it blows up? basically, I want to fail,
set a message and kick the user back to the log in page?
Application Execution Exception
Error Type: Expression : [N/A]
Error Messages: Variable CONTROLLER is undefined.
CODE::
<cfcomponent name="Login"
extends="cfcRetailHub.handlers.ApplicationHandlerHelper"
output="false" autowire="true">
<!------------------------------------------- CONSTRUCTOR
-------------------------------------------->
<cfproperty name="AppShared" inject="Coldbox:Setting:AppShared"/>
<cfproperty name="MessageBox"inject="Coldbox:Plugin:MessageBox"/>
<cfproperty
name="SessionStorage"inject="Coldbox:Plugin:SessionStorage"/>
<cffunction name="Init" output="false" returntype="Login">
<cfreturn this>
</cffunction>
<!----------------------------------------- IMPLICIT EVENTS
------------------------------------------>
<!------------------------------------------- PUBLIC EVENTS
------------------------------------------>
<!---