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
0
votes
1 answer

How to set Devise confirmable link on Mandrill template?

I know that with the Mandrill syntax that I can send in user specific info by doing something like this: def confirmation_instructions(record, token, opts={}) options = { :subject => 'Email confirmation', :email => record.email, :name…
0
votes
0 answers

devise gem confirmation email sent 302 error

i using devise gem user registration. But confirm email not sent. 302 error. user.rb add :confirmable migration successful. # config/environments/development.rb config.action_mailer.default_url_options = { :host => 'localhost:3000' }…
0
votes
1 answer

Storing unconfirmed email column on the sign up

I'm using Devise with Confirmable module enabled. I realised that unconfirmed email column is only used when the user already has a confirmed email and wants to change it. I have the following issue: The user "A" signed up with a email that belongs…
0
votes
1 answer

Rails: How to customize Devise signup to choose between sending or not sending confirmation email?

I have a rails app where I want only Users with an activation code could get a confirmation email, otherwise they will just be registered and not get confirmation email. Here is what I'm planning to do, would this be something that would work…
0bserver07
  • 3,390
  • 1
  • 28
  • 56
0
votes
1 answer

Make sure that a confirmation email is send only after user creation

I have added Devise with my Rails app and I am using the confirmable module. Then I integrated devise with Stripe. I found out that when I try to register a user and the payment goes wrong, Devise still sends a confirmation email. When I check if a…
user2911232
0
votes
1 answer

Rails Devise gem: Limit the number of times I can resend confirmation mail

I have a user admin who can create new user and the newly created user need to confirm the email against him in order to activate his account. How can I limit the number of times a "confirmation mail is resend" against a particular user. Say I…
Sonu Oommen
  • 1,103
  • 1
  • 10
  • 21
0
votes
1 answer

reconfirming new email with devise in rails does not work

I am trying to manually reconfirm an email in the console. First, the user looks like this:
Philip7899
  • 4,599
  • 4
  • 55
  • 114
0
votes
1 answer

Rails Devise and skip_confirmation!, how to avoid autologin

When I use a link from confirmation email to confirm my account, I'm redirected to login path, which is fine. But for some users I want to skip confirmation, so I've applied a code like below in before validation collback: if foo? …
Artur79
  • 12,705
  • 1
  • 22
  • 22
0
votes
0 answers

Double token check in devise

Devise is acting weird for the first time each day when a User tries to create a new User in our project. This is the server log from the exact moment the user clicks on the confirm link: Started GET…
Flezcano
  • 1,647
  • 5
  • 22
  • 39
0
votes
1 answer

Enable email lazy registration actionMailer Rails 4

I am new to Rails and trying to get a example working to register with a confirmation email with Rails 4 and devise. I am using this example: https://github.com/mwlang/lazy_registration_demos I created the following…
0
votes
0 answers

undefined local variable or method `resource_class'

Windows 8.1 Ruby 2.0 Rails 4.1 Devise I am using Devise for users management. I finish the registration process OK, and then I receive an email asking me to confirm. Everything is working like it's supposed to. The link in the email is the…
EastsideDev
  • 6,257
  • 9
  • 59
  • 116
0
votes
1 answer

Devise Confirmation Resend "Login can't be blank" error & Confirmation link from email has "Confirmation token is invalid" error

ruby '1.9.3' "rails", "3.2.13" "devise", '~> 3.2.2' I'm using the Devise confirmation controller without modification. I create a user and the email is sent. Then clicking on the link to confirm results in "Confirmation token is invalid". The token…
John Forbes
  • 145
  • 3
  • 8
0
votes
1 answer

Devise after :confirmable on ruby rails

After the user confirms his account, when he clicks in the link sent to his email, he automatically signs in. How can I disable this characteristic? is it possible?
Flezcano
  • 1,647
  • 5
  • 22
  • 39
0
votes
1 answer

Using confirmable(devise) module after sign-up

I am using confirmable in one of the user models , however the idea is different here . The user isn't required to confirm his account on the time of sign-up , he can confirm it later by clicking on confirm .I have read the devise documentation but…
user3620005
0
votes
1 answer

skip_comfirmation! is not working - Rails4 - Devise 3

Windows 8.1 Ruby 2.0.0 Rails 4.1 Devise 3.xx In my registrations_controller, I have the following: @user.skip_confirmation! prior to saving. This is working only partially, as confirmation email is not being sent out, but the confirmed_at field is…
EastsideDev
  • 6,257
  • 9
  • 59
  • 116