Authlogic and persistence token

Hello,

I would to know if if does it possible to have something like this :

  acts_as_authentic do |c|     c.login_field = :user_name     c.crypted_password_field = :user_passwd     c.persistence_token = :pertok   end

Using the "pertok" field instead of the "persistence_token" field ? Or say to Ror to use the "user_passwd" as "persistence_token" field.

How to generate a persistence token ?

Thanks in advance ! :slight_smile: