the code block should be syntax highlighted in Ruby.
Updated Extensions (textile)
Updated How to: upgrade to devise 2.1 (markdown)
Updated Welcome to the Devise Wiki! (markdown)
Created How to: upgrade to devise 2.1 (markdown)
When using the Google code sample (but with my corporate OpenID provider) I found that I didn't get redirected back to the protected page after login. It turned out that :verify_authenticity_token was wiping my session because no token was present. But I don't think the OpenID server will ever send a token.
Updated How To: Allow users to sign in using their username or email address (textile)
Fixed bug in find_first_by_auth_conditions override and sign up confirmation
Updated Example applications (textile)
Updated Devise Example Applications (textile)
Updated How To: Allow users to edit their account without providing a password (markdown)
Updated I18n (textile)
I just got through this, pretty annoying and there are a lot of old and misleading threads connecting Omniauth / Devise / Facebook. Hopefully this will keep people from wasting their time debugging this.
On [this wiki page](https://github.com/plataformatec/devise/wiki/How-To%3a-Allow-users-to-sign-in-using-their-username-or-email-address) one can see that he has to add this : def self.find_first_by_auth_conditions(warden_conditions) conditions = warden_conditions.dup login = conditions.delete(:login).downcase where(conditions).where(["lower(username) = :value OR lower(email) = :value", { :value => login.downcase }]).first end in his user.rb file. But actually it crashes when submitting the reset password form because it then tries to find the :login key in the conditions hash which does not exists, it should instead use :reset_password_token, like so : def self.find_first_by_auth_conditions(warden_conditions) conditions = warden_conditions.dup if reset_password_token = conditions[:reset_password_token] where(conditions).where(["reset_password_token = ?", reset_password_token]).first else login = conditions.delete(:login).downcase where(conditions).where(["lower(username) = :value OR lower(email) = :value", { :value => login.downcase }]).first end end Another way would be to add a hidden field in the passwords/edit.html.erb view file. What do you think ?
Updated How To: Do not redirect to login page after session timeout (markdown)
Specifying location for creating the CustomFailureApp file and a note on autoloading the app.
Created How To: Use custom mailer (markdown)
It's probably right link
Updated How To: Use Recaptcha with Devise (markdown)
Add Norwegian translation with updates for Devise 2.0
Change the URL.
simplify by overriding the right method
add rails3-bootstrap-devise-cancan example app
by passing -> bypassing
Created How To: Add :confirmable to Users (markdown)