Displaying 7 results from an estimated 7 matches for "persistence_token".
2009 Dec 03
2
AuthLogic Question - one time password (persistence_token) - what config is required to use this???
Hi,
I''m stuck trying to work this one out - have been reviewing the
AuthLogic code base but having a hard time making sense of it (
http://github.com/binarylogic/authlogic ).
Question 1 - Can anyone confirm what config exactly is required to
make the one time password (persistence_token) work in AuthLogic? See
below for the bulk...
Question 2 - If not the full answer to the above, then just: In the
AuthLogic code base where is URL parameter key string of
"user_credentials" actually set? I can''t see to find it. Refer to
line 28 of the params.rb file. There i...
2010 Jun 29
0
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 ! :-)
--
Posted via http://www.ruby-forum.com/...
2012 Jun 11
0
Using AuthLogic
Hello, I''m trying to use the authlogic to make my login in my app.
The problem is when I change my user model.
user model:
class User < ActiveRecord::Base
attr_accessible :crypted_password, :email, :password_salt,
:persistence_token, :username
acts_as_authentic
end
create_users migration
class CreateUsers < ActiveRecord::Migration
def change
create_table :users do |t|
t.string :username
t.string :email
t.string :crypted_password
t.string :password_salt
t.string :persistence_token...
2009 Nov 14
3
authlogic fails on existing accounts when crypted_password is blank
I recently ran a migration to add the following to an existing user
model:
t.string "crypted_password"
t.string "password_salt"
t.string "persistence_token"
There is an existing (cleartext) password field, but authlogic doesn''t
seem to be reading that on existing accounts. As a result, all logins
for existing accounts fail.
How can I get authlogic to either use the cleartext passwords, or to
bulk-populate the crypted_password and passw...
2010 Dec 02
7
Rails 3 + Authlogic not working all of a sudden
Hey People,
I''ve been working on Rails 3.0.0 and Authlogic for quite a while now but
all of a sudden I can''t login into my application anymore.
After some research I found out that no sessions are stored into the db
anymore so I started the console and saw this:
ruby-1.9.2-p0 > u = UserSession.new({:username => ''Test'', :password =>
2009 Oct 27
14
Authlogic Password confirmation is too short Error. NEED HELP.
Hi:
I am using authlogic, and following railscast tutorial. I am running
into this error code with the password confirmation.
authlogic password confirmation is too short
Has anyone experienced this error? I need your help.
Thanks in advance for your help.
2009 Jun 13
5
undefined method `valid_password?'
I''m trying to set up the authlogic gem for rails, just after logging my
user I get this weird error:
NoMethodError in Usuari sessionsController#create
undefined method `valid_password?'' for #<Usuari:0xb69b9a54>
RAILS_ROOT: /home/cocozz/dev/enruscats
Application Trace | Framework Trace | Full Trace