This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <cfcomponent extends="Wheels"> | |
| <cffunction name="init"> | |
| <cfset filters(through="checkLogin", except="login,authenticate,logout,resetPassword,forgotPassword")> | |
| </cffunction> | |
| <cffunction name="checkLogin"> | |
| <cfif StructKeyExists(session, "user")> | |
| <cfset loggedInUser = model("user").findByKey(session.user.id) /> | |
| <cfif isDefined("session.gotoredirectparams")> | |
| <!--- make params what the previous ones before timeout ---> |