 		<cfset application.lastTryToLogin = now()>
 		<cfparam name="form.captcha" default="">
 
-		<cfif loginSettings.captcha && structKeyExists(session, "cap") && compare(form.captcha,session.cap) NEQ 0>
+		<cfif loginSettings.captcha && structKeyExists(session, "cap") && compare(form.captcha,session.cap) != 0>
 			<cfset login_error = "Invalid security code (captcha) definition">
 		<cfelse>
 			<cfadmin


</cfif>
<cfsavecontent variable="arrow"><img src="resources/img/arrow.gif.cfm" width="4" height="7" /></cfsavecontent>
<cfif structKeyExists(url, "action") && url.action == "plugin" && not structKeyExists(url, "plugin")>
	<cflocation url="#request.self#" addtoken="no">
</cfif>
<cfif request.adminType == "web">

			<cfset session.lucee_admin_lang=form.lang>
			<!--- Thread operation for update provider --->
			<cfcookie expires="NEVER" name="lucee_admin_lang" value="#session.lucee_admin_lang#">
			<cfif form.rememberMe != "s">
				<cfcookie
					expires="#dateAdd(form.rememberMe, 1, now())#"
					name="lucee_admin_pw_#server.lucee.version#_#ad#"
					value="#hashedPassword#">
			<cfelse>
				<cfcookie expires="Now" name="lucee_admin_pw_#server.lucee.version#_#ad#" value="">
			</cfif>
			<cfif isDefined("cookie.lucee_admin_lastpage") && cookie.lucee_admin_lastpage != "logout">
				<cfset url.action = cookie.lucee_admin_lastpage>
			</cfif>
		</cfif>
