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
6
votes
4 answers

Getting Devise AJAX sign in working with confirmable

We're trying to extend Devise (3.1.1) signin/signup methods to handle AJAX requests, but are getting stuck with the confirmable logic. Normally, if a user signs in to Devise before confirming their account, they'll get redirected to the login screen…
Yarin
  • 173,523
  • 149
  • 402
  • 512
6
votes
3 answers

Customize devise confirmation email

Welcome xxx@xxxxx.com! You can confirm your account email through the link below: enter code hereConfirm my account I want to edit this message to become like this My project_name Hello xxxxx click here to confirm you email
Mahmoud Abdelaziz
  • 117
  • 1
  • 1
  • 9
5
votes
3 answers

Replace devise_error_messages! with flash messages

I generated my devise views using rails g devise:views users I generated my devise controllers using rails g devise:controllers users I added my new controllers in routes.rb: devise_for :users, controllers: { sessions: "users/sessions", …
5
votes
2 answers

undefined local variable or method `confirmed_at' for Devise

I am pretty new to RoR and I have installed Devise gem successfully. When i attempt to go t localhost:3000 I receive and error undefined local variable or method `confirmed_at' I am assuming this has to do with the Devise gem. My schema.rb…
Fdwillis
  • 1,050
  • 9
  • 21
5
votes
3 answers

How to send two different emails for devise confirmable and devise reconfirmable?

Both devise confirmable (email confirmation when user signs up) and reconfirmable (email confirmation when user changes email) modules send the same email template, "confirmation_instructions". How do I get it so that a different email template is…
Shaan
  • 863
  • 2
  • 12
  • 25
5
votes
1 answer

Rails: Devise: Sending an email after user comfirms registration

My application is using Devise, and is sending out confirmation emails properly, and confirming users properly as well after they click on the confirmation link. I would also like to send a second email AFTER the user is confirmed. There is a lot of…
EastsideDev
  • 6,257
  • 9
  • 59
  • 116
4
votes
1 answer

why devise is generating this format of confirmation URL?

devise keep on generating this format of confirmation URL http://something.com/users/confirmation/divyanshu-rawat?confirmation_token=CV3zV1wAWsb3RokHHEKN I don't know why it is not generating something like…
4
votes
0 answers

Email is already taken only if account is validated

I would like to overide the action thats says: 'Email is already taken' in Devise I'm building an app where the user can invite someone to multiple items (todo, events, folder, etc ...) through his email. To avoid a multiplications of invitations…
stig Garet
  • 564
  • 2
  • 13
4
votes
0 answers

Devise Token Auth requiring current_password on password reset

I have config.check_current_password_before_update = :password enabled. So when the user updates his/her password, the current_password field is required. This becomes a problem when implementing password reset because the user does not know his/her…
4
votes
1 answer

Devise account confirmation link does not work

I updated Devise gem from 2.2.3 -> 3.2. everything else works fine but Account confirmation link sent as email does not work fine. When User click on that link it always ask the user to resend confirmation link and it never confirms the account. I…
user4311043
4
votes
1 answer

Devise email only signup

I'm using Rails 4 and Devise 3.2.3. In my app I'm trying to have a logged-in admin user that can create new users with email only. I followed the instructions here: https://github.com/plataformatec/devise/wiki/How-To:-Email-only-sign-up views >…
Augusto
  • 1,140
  • 2
  • 18
  • 38
4
votes
2 answers

Devise - Skipping user confirmation in Development

How do you skip user confirmation in development in devise. I have set up the production environment to send emails with SendGrid, but now I have done that it won't let me log in. Thanks for your time!
4
votes
1 answer

Devise confirmation link is missing domain

Devise confirmation_url is producing just a relative url with no domain such as: http://users/confirmation?confirmation_token=... I tried changing confirmation_url(@resources, :confirmation_token =>…
rigyt
  • 2,219
  • 3
  • 28
  • 40
3
votes
4 answers

How to allow other users to register with an email already taken but not confirmed?

I'm developing an application that requires authentication with devise/rails and it was decided to allow users sign in without email confirmation. However, after a deep thinking this odd workflow came in mind: What if someone registers with my…
3
votes
2 answers

Devise reconfirmation hook

This question is very similar to Rails Devise: after_confirmation except I'm looking for more specifically a reconfirmation hook My use case : I need to synchronise a new user email on some third party service (Intercom to be precise). I have a…
1
2
3
16 17