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 do I create/register a User model that has a belongs_to relation?

I want the user to confirm their email before they add/edit their profile (it's a really big profile). On the POST /users(.:format) devise/registrations#create page, I get the following errors: 3 errors prohibited this user from being saved: …
Chloe
  • 25,162
  • 40
  • 190
  • 357
0
votes
1 answer

Test devise after_inactive_sign_up_path_for confirmable redirect

My devise user is :confirmable, and I want to test that the user is redirected to the devise login page after signing up. It works when I manually test it, but fails in rspec/capybara feature spec. I'm following these instructions to setup the…
klementine
  • 300
  • 5
  • 12
0
votes
2 answers

How do we make devise verification and reset email links for only 24 hours and only a 1 time link?

I am using ruby on rails for the back end. Its a research based question. I tried searching but didn't get any solution. Any kind of help is greatly appreciated. Thanks in advance!!!
0
votes
1 answer

Rails Devise confirmable error

Currently trying to integrate a confirmation mail with devise authentication. I followed the instruction's from the devise documentation: https://github.com/plataformatec/devise/wiki/How-To:-Add-:confirmable-to-Users When i try to sign up a new…
0
votes
3 answers

How can I resend a Devise confirmation email automatically, but only once, for users who have not confirmed?

I am using Rails with Devise confirmable. When users sign up Devise automatically sends them a confirmation email. If they haven't confirmed after three days, I would like to send them another confirmation email with a new token. If they still do…
Benjamin Humphrey
  • 3,770
  • 2
  • 23
  • 41
0
votes
1 answer

How to conditionally ignore that a user is not confirmed in Rails, Devise?

Basically what I have is that a user is created upon a booking (from their booking details), but they have to tick an option to actually have an account on the website. The latter type of user needs confirmation of email, but the previous - does…
Aurimas
  • 2,577
  • 5
  • 26
  • 37
0
votes
1 answer

devise_token_auth - skip_confirmation_notification! not working

The confirmation mail is sent automatically when a user is created. But I need to send the mail through code manually after completing a few more steps. I can't able to prevent the confirmation mail from sending. User model class User <…
0
votes
1 answer

devise skip_confirmation! is still sending email

I am using devise and I want to skip confirmation email. Despite, I am using skip_confirmation! before user.save, it is still sending email. This is really maddening as I have tried so many ways but skip_confirmation! is not working at all. u =…
0
votes
1 answer

Rails Devise Confirmable - redirect

The Rails docs for devise say that the instructions for how to redirect are incorrect: https://github.com/plataformatec/devise/wiki/How-To:-Add-:confirmable-to-Users#redirecting-user Does anyone know how to do this?
Mel
  • 2,481
  • 26
  • 113
  • 273
0
votes
0 answers

Rails 4 - Devise confirmable, in certain conditions

I'm trying to figure out if I can use devise confirmable to achieve the following outcome. I have a user model. When a new user registers (I use devise), I have a service class in my user model that checks if their email address matches the format…
Mel
  • 2,481
  • 26
  • 113
  • 273
0
votes
1 answer

Where to put @user.skip_confirmation! in devise signup

I want to skip confirmation email in signup and want to send manually. To skip I will do @user.skip_confirmation! But where to write this line?
user6175355
0
votes
1 answer

Rails 4 - Devise - Confirmable subject to approval

I'm trying to learn how to read rubydocs. I'm sure there is something fundamentally basic that I have missed in trying to use these documents, but for now, I'm so frustrated that information is being presented to me, but without any form of…
Mel
  • 2,481
  • 26
  • 113
  • 273
0
votes
1 answer

rails actionmailer with confirmable link

I used Actionmailer in my rails app to send an email of welcoming and link to the app but in the http://guides.rubyonrails.org/action_mailer_basics.html there is not confirmable like devise : devise :registerable, :confirmable Then, do the…
zato
  • 15
  • 1
  • 5
0
votes
1 answer

ruby rails send an email after sign up with devise without confirmable

i create a sign in /up with devise for my app rails , and i would like just send a email of welcoming but without confirmable or redirecting, "devise :confirmable, ... has_many :emails delegate :confirmation_sent_at, :confirmed_at,…
zato
  • 15
  • 1
  • 5
0
votes
2 answers

How to get signup user id in another controller in devise

user.rb has_one :company My requirement is that when user sign up page is redirect to new company form. How can I get sign up user id there? Is it possible?
user6175355