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

Devise :confirmable activation link in email expires too quickly

When users register on my website, they get an email with an activation link. This link expires after about 3 hours. How can I customize Devise (2.0.0) to keep this activation link Valid for 7 days? Here's what I've tried: # Model: class User <…
sergserg
  • 21,716
  • 41
  • 129
  • 182
1
vote
1 answer

Modifying devise mailer

I'm using devise for authentication in my app. When a user signs up a confirmation email is sent to the user which says Welcome user@gmail.com ! You can confirm your account email through the link below: Confirm my account But I want to display…
1
vote
1 answer

Challenge: best way to handle devise user/profile/account removal from database?

Challenge (deactivating): Having a social media type application in Rails 4 using Devise. Im looking for a good way to delete users from the system. Since Facebook allows users to reactivate there accounts I have now implemented this feature with a…
Rubytastic
  • 15,001
  • 18
  • 87
  • 175
1
vote
1 answer

Security riddle: confirming email and resetting passwords

I'm using Devise on my Rails 3.0 app, and we currently have confirmable and recoverable turned on. These modules require users to confirm their email account (confirmable) and allow users to reset their password by having an email sent to their…
1
vote
0 answers

Devise outstanding email confirmation messages

not sure it is possible what we want to achieve, but any advice welcome. Using devise 2.0.4 for authentication. All good. We have a settings view where users can change their email and/or password. If they change their email address, since we have…
bobomoreno
  • 2,848
  • 5
  • 23
  • 42
1
vote
2 answers

Devise: Show error when the user is already confirmed

I would like to show a error message when a confirmed user tries to resend confirmation. Is this something that is already provided by devise or should i have to override some of their methods? If so which methods?
usha
  • 28,973
  • 5
  • 72
  • 93
1
vote
1 answer

Devise.rb Confirmable Not Working

I am new to Ruby and Rails and having some issues with Devise. I am creating a new Devise installation. Even though, I believe I have properly configured my devise.rb initializer for enabling confirmable; but when I migrate the database the…
BDubbs
  • 103
  • 7
1
vote
2 answers

Adding only devise :confirmable to a Model

I need to add a confirmation email functionality to a model in a Rails Application, but nothing else. It is not a User model, it is not authenticable. I added devise :confirmable to the Model, and ran the migration: class AddConfirmableToProjects <…
Nicolas
  • 2,297
  • 3
  • 28
  • 40
1
vote
1 answer

Include devise mailer in own gem

I am trying to add devise dependency in my gem. By adding gem.add_dependency "devise" and Include modules :database_authenticatable, :confirmable, :registerable, :recoverable, :rememberable, :trackable, :lockable, :validatable While running specs…
1
vote
1 answer

How can I pass email of unconfirmed user to the session (Devise)?

I have a registration form, and after registration I want browser to remember user's (still unconfirmed) email. How could I do that? I assume I can do this somehow with build_resource of RegistrationsController.
ciembor
  • 7,189
  • 13
  • 59
  • 100
1
vote
3 answers

How to change the confirmable to be optional in devise?

I have devise for authentication and I have confirmable in devise for User model. I want this to be optional based on the data I send. That is there is a type field in User model. If I send value 1 for type then the confirmable should be…
logesh
  • 2,572
  • 4
  • 33
  • 60
1
vote
2 answers

Use Devise :confirmable without time limit?

I'm using Devise for authentication in my application. I don't want to require email confirmation when a user signs up, but I do want to require it if the user wants the app to send them email updates. Is this possible with the built-in :confirmable…
dpassage
  • 5,423
  • 3
  • 25
  • 53
1
vote
2 answers

Devise, i don't receive mail :recoverable

hi i start to adjust my devise gem and i saw one problem when i click in link -> "Forgot your password?" than i put my email and click "send" Ideally,I should receive mail with some link.. but i don't receive this mail In console log's i saw:…
Dmytro Vasin
  • 823
  • 2
  • 11
  • 22
1
vote
1 answer

Rails 3 Devise confirmation filter

I'm wondering if it's possible to selectively require confirmation for certain controller actions using Devise. Basically: I want users to sign up for an account (which will trigger a confirmation email), be automatically logged in, and be able to…
Sherwin Yu
  • 3,180
  • 2
  • 25
  • 41
0
votes
0 answers

devise confirmable with React

There is a problem I couldn't find an answer for on the internet. I am trying to make an app with react and ruby. I am using devise in order to authenticate my users and I would like to use the confirmable attribute and here is my problem: The…
Unik6065
  • 25
  • 5