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

Display button only on signup not on signin

I am using Devise gem for user authentication with confirmable (Email confirmation). I want to display a tour button on home page only after user signup but not on login. Iam doing something like this <% if current_user &&…
Sumit Rai
  • 637
  • 1
  • 6
  • 11
0
votes
1 answer

Prevent Only Devise confirmation email while creating user through nested attributes

I am optionally creating User with Nested attributes. I just want to skip confirmation email . But class ShipperOrder < ActiveRecord::Base belongs_to :user accepts_nested_attributes_for :user end class User < ActiveRecord::Base has_many…
Nitin Jain
  • 3,053
  • 2
  • 24
  • 36
0
votes
1 answer

Devise email activation after signup

I am using devise email activation for my account signup in my rails app. I successfully receive a mail from my smtp client with the activation link in it.. But on clicking on the activation link, the page redirects to my app and it says "invalid…
Indrajeet
  • 23
  • 7
0
votes
2 answers

Customizing Rails devise signup message

I'm using Devise on Rails 3. And whenever user signs up, they got confirmation email. After signing up, they redirected to login page, but it shows You need to sign in or sign up before continuing. unauthenticated message. I want to customize…
Nicholas
  • 169
  • 1
  • 4
  • 15
0
votes
1 answer

Devise - User signed out not in after confirmation

I'm following the instructions in this Devise wiki article to customize Devise confirmation in my Rails 3.2.x app. https://github.com/plataformatec/devise/wiki/How%20To:%20Email-only%20sign-up It's mostly working. After the user signs up, they are…
0
votes
1 answer

Devise - How to translate auto generated links

I'm finishing the different localizations of my site and i got a little issue in Devise email templates. In confirmation email for instance, i have translated it all, but the link to confirm the account is auto generated using this snippet: <%=…
0
votes
1 answer

password confirmation error messaage on password_confirmation field

I have my user models validation for password confirmation like this validate_confirmation_of :password This add the error message doesn't match to the password field, but I need this error message on the password_confirmation field. Can this be…
0
votes
1 answer

Customize Devise mail template path for the same model

I am developing a rail application which include a rail engine. I use devise gem for account authentication. On one hand, I want to send confirmation_instruction mail with one template for main_app. On the other hand, I want to send…
0
votes
0 answers

Devise Confirmations Called Twice Using AutoBuild

I've had a problem that when using AutoBuild with Devise confirmable the confirmation codes within the emails are invalid. I found that this is because the confirmation code is generated for the model then the email is rendered. After that the…
ny95
  • 680
  • 5
  • 17
0
votes
2 answers

Devise 3.2, Confirmation without Login, and Password Creation for New Accounts

I've upgraded to Devise 3.2.1 and Rails 4.0, and I'm trying to figure out my signup now that one doesn't login on confirmation. I allow users to create a message and specify the recipient of the message via an email address. Then I send emails…
0
votes
1 answer

Devise custom controller Missing Template create

I have two different Devise Models on my rails app: Studios and Musicians. I'm trying to get everything work with my custom controllers, because Musicians "has_one" adress and some other stuff. My Musicians model has the following Devise…
0
votes
1 answer

confirmation_url devise not full path

i try to send email with devise confirmation, but when email have send... url for activation account not have full path my link_to devise <%= link_to 'Confirm my account', confirmation_url(@user, :confirmation_token => @user.confirmation_token,…
tardjo
  • 1,594
  • 5
  • 22
  • 38
0
votes
1 answer

devise wrong token and url wrong

I use devise (3.1.1) with confirmation enabled. 1st issue confirmation_url is not like expected My /app/views/devise/mailer/confirmation_instructions.html.erb contains

<%= link_to 'confirm', confirmation_url(@resource, :confirmation_token =>…

Jan
  • 12,992
  • 9
  • 53
  • 89
0
votes
1 answer

Devise email only registration not showing view to choose password

I am using Rails 4.01 and Devise 3.2.1 I need a user to be able to register on the site without a password, then when they click the email confirmation, they are sent to a page where they choose a password before the confirmation is complete. Then…
Dave Olson
  • 252
  • 3
  • 13
0
votes
2 answers

use regex to accept any string after users/ link

In my rails application I want to accept any string that comes after "users/" link. How do I do it? That is eg. users/xyz or user/asdas is acceptable. How do I do this? def store_location # store last url - this is needed for post-login…
Aravind
  • 1,391
  • 1
  • 16
  • 41