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
2 answers

Devise with Rails 4 and gmail smtp

I have a Rails 4.1 app with Devise (confirmable). I am using gmail for sending mail. It was working fine for 8-9 months. But has suddenly stopped sending any mails, confirmation , forgot password or resend confirmation since April 1 this year. There…
Sanjay Singh
  • 367
  • 1
  • 11
0
votes
1 answer

devise after_sign_up_path_for not working

I have followed the directions here: https://github.com/plataformatec/devise/wiki/How-To:-Redirect-to-a-specific-page-on-successful-sign-up-(registration) I am succesfully using my own registrations controller. Here is my routes code: devise_for…
Philip7899
  • 4,599
  • 4
  • 55
  • 114
0
votes
1 answer

Rails Devise NON HTML email

I've following setting in my Application.rb file Devise::Mailer.layout "Mailer Layout Name" I'm sending both HTML and NON-HTML(text) emails. I want to ignore the "Devise::Mailer.layout" for Non-HTML(text) email. Is there anyway to get this done in…
kashif
  • 1,097
  • 4
  • 17
  • 32
0
votes
0 answers

401 when attempting to confirm devise user

I'm attempting to configure a devise :confirmable account, in which a user selects his password once he confirms the account (this is an officially documented modification, the details of which can be found here). The problem: Without the…
0
votes
1 answer

Devise expire notification on email confirmation

I have included confirmation module in devise gem and it working fine but i need to alert the user with some flash message on after 2 days(based on the devise config) for unconfirmed emails on login. config.allow_unconfirmed_access_for = 2.days how…
Mani David
  • 1,382
  • 1
  • 14
  • 30
0
votes
1 answer

Devise registration confirmation says that mail was sent but users don't see these messages

I have Ruby on Rails application with devise authorization. I add confirmation for new user registration as in manual. But new users doesn't receive confirmation messages. Confirmation sending log says that email was successfully…
General Failure
  • 2,421
  • 4
  • 23
  • 49
0
votes
1 answer

How to get Devise user account unconfirmed or locked state to use in AJAX?

I'm trying to put the devise views using JS to handle the responses. I want to use default devise error messages but I cannot get individual types of errors (ex. Unconfirmed; Locked account) because of warden.authenticate. So, I'm using a "caught"…
0
votes
1 answer

Defining stubs in an RSpec helper method

I've got a confirmable devise model that I'm trying to write a spec for, and it's got some code that skips the confirmation if we're in a staging or development environment. To test it, I'm trying to stub the Rails.env.*? environment methods, so I…
mammothbane
  • 275
  • 5
  • 11
0
votes
1 answer

Rails/Devise: not able to send confirmation mail manually from controller

In my Rails/Devise app I need to manually send confirmation email for user with specific role and delay its sending. What I do now is: a) In User.rb: before_save :skip_mail_if_role1 def skip_mail_if_role1 self.skip_confirmation_notification! if…
alv_721
  • 305
  • 3
  • 18
0
votes
2 answers

How to modify Devise's message on a specific step of its workflow?

After Sign Up a new user I get redirected to a Sign In page with the following flash[:alert] message: "You need to sign in or sign up before continuing." My User model uses Devise's :confirmable module so it would be nice if after Sign Up a user…
yaru
  • 1,260
  • 1
  • 13
  • 29
0
votes
0 answers

Admin create user, User pick their Password Devise gem

How to do this scenerio: Using Device Gem Rails Admin will create a user, then User receive the email, User open the email and update the password and his personal info. then he login his dashboard
0
votes
3 answers

Devise Confirmable. How to remove email field?

In order to send new confirmation instructions, an email has to be entered. I want to avoid that because my users are logged in at that moment, so there's no need for email asking. I just want to send new instructions to the current_user.email I…
fabro
  • 731
  • 6
  • 11
0
votes
2 answers

Rails, Devise: is it possible to only confirm email logins and not Facebook logins?

I have set up Ruby on Rails and Devise using code from here Email logins and Facebook login were all working fine. However, once I configure :confirmable (which creates confirmation emails and user have to click on a URL), Facebook login no longer…
0
votes
2 answers

Devise email only signup - rails

Within a rails app i'm working on. I'm trying to add the ability for users to signup simply by entering their email address and then confirming their account via the confirmation email. I don't want the user to have to enter in any password. How…
Katie H
  • 2,283
  • 5
  • 30
  • 51
0
votes
1 answer

Redirect user to modal popup after registration confirmation using Devise on Rails 4.x webapp

On a Rails 4.x app I'm using Devise to register users. What I want to do is redirect a user after confirmation to the usual user_path(resource) but having a modal appear to prompt for a few things. I don't know how to solve this without using…
Slenny
  • 379
  • 2
  • 4
  • 13