You can clone with
No one assigned
AuthLogic doesn't behave like ActiveRecord.
With ActiveRecord, the @errors array is filled only after running .valid? or .save
With AuthLogic it is run automatically and there is no way to disable it.
AuthLogic will therefore mark the fields login and password as error. As these are added to the base errors, there's no way to clear those errors. This is especially an issue if AuthLogic is used in conjunction with Formtastic. In that case those fields will always be highlighted as errors.
AuthLogic shouldn't check for errors until the .valid? or .save methods are called.
To reproduce, modify the authlogic example as follows,
class UserSessionsController < ApplicationController
@user_session = UserSession.new
raise @user_session.inspect # will always show an error