Questions tagged [devise-confirmable]

Devise's Confirmable module

Its used for confirming the email id mentioned by user to signup. It will email the confirmation token to the registered email id and user can confirm by clicking on the provided link to confirm his/her account.

251 questions
1
vote
0 answers

How to use a custom confirmations URL in Devise

I'm looking for a way to use a URL provided as a parameter in the POST request to create a user as the confirmation URL for confirming my Devise user model. The use case is that I have a rails application acting as an API for a frontend react app…
Kyle Anderson
  • 91
  • 3
  • 9
1
vote
1 answer

Devise Token Auth confirmation email link expired

I am currently developing a website and i have a problem with te confirmation link with devise token auth. Everything is working right, after someones registers they get an email with a confirmation link. This link is confirming and working properly…
Julio Lopez
  • 1,107
  • 1
  • 9
  • 17
1
vote
1 answer

Devise Confirmable -- How To Disable Confirmation Feature?

According to this issue, if I do not require my users to "confirm" their account after creating it, then I can pass this option to the config, config.allow_unconfirmed_access_for = nil, which I found in this issue. However, what is unclear to me is…
robskrob
  • 2,720
  • 4
  • 31
  • 58
1
vote
1 answer

Generate Custom token for Confirmable devise

I am using devise:confirmable, and want to use custom token, as I need to append some data in the confirmation token itself. How can it be configured ? User Model : class User < ActiveRecord::Base # Include default devise modules. Others available…
1
vote
2 answers

Devise issues with soft-deleted Records. Any idea, how to fix it?

I'm using discard gem for Soft deletion. Once user gets Soft-Deleted, user can still receive forget password emails. Because Devise password controller does not care either its soft-deleted or not ? I'm using following Devise modules, it seems, i…
kashif
  • 1,097
  • 4
  • 17
  • 32
1
vote
1 answer

Should one use rake db:migrate when you have mongodb

I am creating a new migration like this: rails g migration add_confirmable_to_devise And it is generating the file in: db/migrate/YYYYMMDDxxx_add_confirmable_to_devise.rb and I add this: class AddConfirmableToDevise < ActiveRecord::Migration #…
1
vote
1 answer

devise confirmable migration error

I'm new to ruby on rails and am having difficulty understanding the error I'm seeing here and I can't find it when I'm searching. I'm adding Devise to my application and would like to make it confirmable. So I added Devise to the gem file, bundle…
1
vote
2 answers

Devise sending welcome email after confirmation

I'm using rails 5.2 and devise 4.4.3, I have confirmable working, however, I'm trying to have it so when the user confirms their account they get sent another email welcoming them to the website. On sign up the confirmation email sends and…
user8331511
1
vote
1 answer

Missing devise routes

Rails 5.1 Devise My routes.rb file: Rails.application.routes.draw do # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html devise_for :users, controllers: { sessions: 'users/sessions', …
EastsideDev
  • 6,257
  • 9
  • 59
  • 116
1
vote
1 answer

devise confirmable on rails 5 not working

I am on a rails 5 app. Using devise for user management. I have 'confirmable' enabled in my user model and the migrations are also up for the same. I have created a custom mailer class which is derived from Devise::Mailer, have setup the mailer in…
1
vote
1 answer

How send url for recovery profile with devise_token_auth gem like devise url

In my application installed gem Devise and devise_token_auth. When I request the recovery link then I got this url to my email:…
artamonovdev
  • 2,260
  • 1
  • 29
  • 33
1
vote
2 answers

Devise redirect path after sign-up and before confirmation

I have implemented the devise gem on my app and I want to redirect to a specific path after sign_up. I have this method in the registration_controller.rb but its does not work, it redirects to the root path instead of the specified path. I also have…
Theopap
  • 715
  • 1
  • 10
  • 33
1
vote
2 answers

How to correctly use Devise + Confirmable + fixtures

I'm using Devise + Confirmable for user authentication and Minitest + Capybara + fixtures for testing. I can make working logged in tests for users as long as I included some form of login (either with the helper login_as(@user) or going to the…
1
vote
1 answer

TypeError in Devise::RegistrationsController#create

For Devise with Rails 4.2., I am able to sign up users when I turn off confirmation required in my user model but when I turn it back on I get this error. no implicit conversion of Array into String < # i.e. OpenSSL::Digest::SHA1#block_length …
1
vote
1 answer

Devise skip reconfirmation

I need to skip, not the confirmation email, but REconfirmation emails. Suppose I have a user with a confirmed email. I want to manually change its email for testing/support purposes u.email # => email1@example.com u.email =…