public bool RunRegistered(User user) { var args = new AccountsPipelineArgs() { User = user, UserName = user.Name }; CorePipeline.Run("accounts.registered", args); return(args.Aborted); }
public bool RunLoggedOut(User user) { var args = new AccountsPipelineArgs() { User = user, UserName = user.Name }; CorePipeline.Run("accounts.loggedOut", args); return(args.Aborted); }