similar to: Authlogic & Perishable token

Displaying 20 results from an estimated 10000 matches similar to: "Authlogic & Perishable token"

2010 Feb 05
1
Encrypting the password using Authlogic
Hi, I am using "Authlogic" for user authentication. I have a excel file into which I have user deatils. I have to migrate those details to the "users" table. For that I have written a script which goes through the excel file and store the data into "users" table. My code is like this:- user=User.new user.password="password"
2010 Feb 04
2
Encrypt a user password using "Authlogic"
Hi, I have a csv file which have the user detail. I want to migrate this information into the "users" table. My application use "Authlogic" for user aunthentication so I have to encrypt the password during migration. I have written the script which is reading the csv file and adds the record into "users" table, it is working fine. But I am not able to encrypt the
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,
2010 Dec 15
2
skip password validation in authlogic
i am using authlogic for user authentication and authlogic-connect for facebook and twitter signup.what i need is that i need to skip validation on the password field if user is signup via facebook or twitter.my environment is rails 3 and ruby 1.9.2. i have acts_as_authentic in my user model.however i can skip phone number validation like this validates :phone_number, :numericality =>
2009 Aug 02
13
NoMethodError in User sessionsController#create - Authlogic
Hi, I''m beginner in rails, and I wanted to add to my simple application Authlogic. So I''ve watched http://railscasts.com/episodes/160-authlogic and step-by-step done everything. And almost everything works fine, except login in. After registration new user is automatically logged in, he can edit his profile, but after clicking logout and trying to login again I get error
2012 Oct 16
5
`method_missing_without_paginate': undefined method `class_attribute' for ActiveRecord::Base:Class
hi i am using radiant 0.8.2 , rails 2.3.4, ruby 1.8.7 and rubygems 1.4.2. and i can''t able to run my existing application. error occurred : run command for server "script/server -e production -p 3001" error: => Booting WEBrick => Rails 2.3.4 application starting on http://0.0.0.0:3001 config.gem: Unpacked gem rack-rewrite-1.2.1 in vendor/gems has no specification
2009 Nov 17
2
rake db:seed with authlogic fails to populate users
I have a db/seeds.rb file that I want to load, but while the rest of the seeds file works fine, nothing is ever populated in :users. I just fails silently, so I can''t figure out what exactly is causing the problem. I have authlogic installed into the user.rb model with acts_as_authentic. I''m sure that''s part of the problem, but I''m not sure that manually
2012 May 07
0
Authlogic Single Access Token-Web Service Iphone app
Hi all I am working on Rails 2 application where i need to provide web services for iphone app. I am using authlogic gem for authentication.For web services i am using single access token(user_credentials="XXXXXXXXX"). Every thing is working fine except session[:something] for API call.This session variable is not working for API call.This session variable is not
2010 Oct 30
3
Authlogic not active
Trying to add authlogic in a simple project but get the error; Showing app/views/layouts/application.html.erb where line #33 raised: undefined method `underscore'' for nil:NilClass Extracted source (around line #33): 30: <div id="mainleft"> 31: <ul class="menu"> 32: <li><%= nav_link "Home", "site", "index"
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.
2010 Oct 21
4
Authlogic + Rails3 - undefined method `Login' for nil:NilClass
Im new to Rails, and decided to start of with Rails3. After a lot of searching ive managed to get a little bit of Authlogic working. I''m able to register a user, login & logout. Now, I would like to add more features, get more of authlogic working. I''m using Railscast EP 160 as my reference. Portions of the code found on the tutorial throw errors: Eg: <!--
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.
2010 Nov 15
0
Problem testing Authlogic UserSession
I''ve posted this to the Authlogic group but things seem a little quiet, so perhaps someone here can help: ''m testing Authlogic 2.1.6, running under Rails 3.0.1., using rspec 2.1.0 I have the following: user.rb class User < ActiveRecord::Base acts_as_authentic do |config| config.login_field :email config.ignore_blank_passwords false
2014 Apr 14
0
Foundation & Authlogic
Seems I can get either Foundation or Authlogic to work but not both - After bundle install when I do a rails g foundation:install I get the following: C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activerecord-4.1.0/lib/acti ve_record/dynamic_matchers.rb:26:in `method_missing': undefined local variable o r method `inheritable_attributes' for ActiveRecord::Base:Class (NameError)
2011 Jun 16
2
Authlogic: Trying to login in my Cucumber test - Authlogic::Session::Activation::NotActivatedError
In a Cucumber step definition, I''m trying to login, but I keep getting this error: You must activate the Authlogic::Session::Base.controller with a controller object before creating objects (Authlogic::Session::Activation::NotActivatedError) My code: Given /^I am the logged in (.+) "(.+)"$/ do |role, login| user = User.create!( :login => login, :password =>
2009 Dec 23
0
Migration from the "Restful Authentication" to "Authlogic"
Hi, I am using Authlogic for authentication. Previously our application having a "Restful Authentication". We have users who are created by using the "Restful Authentication". My problem is these users will not able to login with Authlogic as the password encryption methods are different for both and I am getting "Password not valid" error. So I searched for that and
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 =>
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|
2010 Sep 01
4
deprecation warning in Rails 3 about Base.named_scope
I recently upgraded to Rails 3, and this error has come up ubiquitously: DEPRECATION WARNING: Base.named_scope has been deprecated, please use Base.scope instead. Any ideas on how to get rid of it? Or should I just wait for something? There''s actually no place in my application where the code "Base.named_scope" exists, so I assume the problem is inherent in gems that
2012 Feb 21
2
API Authentication-Authlogic
Hi all I am using Authlogic gem for authentication.I want an API authentication for external API(XML) call.How to implement this in authlogic .Thanks in advance... -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To