devise
devise copied to clipboard
Flexible authentication solution for Rails with Warden.
This does not work: ``` sign_in_and_redirect user, notice: "Signed in successfully!" ``` But normal redirect works ``` redirect_to root_path, notice: "Signed in successfully" ``` Rails guides: https://guides.rubyonrails.org/action_controller_overview.html#the-flash ``` devise 4.8.1...
## Environment - Ruby **2.4.5** - Rails **4.2.11** - Devise **4.6.1** ## Current behavior Devise is sending the "Email Changed" email when a user first signs up. This email is...
## Environment - Ruby 2.5.1 - Rails 5.2.2 - Devise 4.5.0 ## Current behavior In my `routes.rb`, I have a snippet that looks like this: ```ruby authenticate :user, ->(_u) {...
Update `default_sender` logic to mirror the [Rails `compute_default` method.](https://github.com/rails/rails/blob/9e66e5d027f32b2dc3b695471e9b99f214af3f0f/actionmailer/lib/action_mailer/base.rb#L913-L921) The existing code uses `instance_eval` which always passes `self` in as the first argument. The examples in the Rails guides and...
## Environment - Ruby **3.0.3** - Rails **7.0.1** - Devise **4.8.1** ## Current behavior With the default routing options, the url to get the form to sign_up is: `resource/sign_up`. This...
This PR solves the problem with unused routes for api_only projects using devise (Issue #5242). Its adds a new option for devise_for called api_only and when is true, removes new...
I am trying to login using devise it was throw an error as > User Load (1.6ms) SELECT "users".\* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT...
## Pre-check - Do not use the issues tracker for help or support, try Stack Overflow. - For bugs, do a quick search and make sure the bug has not...
## Current behavior Due to bcrypt passwords are limited to 72 bytes/characters. ## Expected behavior Possibly pre-hash the password before putting it into bcrypt. See downstream issue https://github.com/tootsuite/mastodon/issues/13152 for details...
## Environment - Ruby 3.0.3 - Rails 7.0.2.2 - Devise 4.8.1 ## Current behavior When using confirmable with reconfirmable on, when you attempt to change your email address, you must...