Questions tagged [email-confirmation]
123 questions
80
votes
5 answers
Manually logging in a user without password
I hope you can help me figure the best way to implement a manual (server-side initiated) login without using the password. Let me explain the workflow:
User registers
Thank you! An email with an activation link has been sent blablabla
(Account…

Agos
- 18,542
- 11
- 56
- 70
20
votes
2 answers
How to configure confirmation email token lifespan in asp.net core mvc
I'm trying to extend the lifespan of both confirmation emails and password reset emails but I can't manage to do so.
Currently I'm using Asp.net core 1.0.1 if that's helpful.
Some tips or even better, the code, would be much appreciated.
Thank you

Gzim Helshani
- 527
- 1
- 5
- 15
19
votes
4 answers
Identity Framework test if confirm email token is expired
Is it possible to test whether a confirm email token is expired using Identity Framework's UserManager? No matter what the error is, from the following:
var result = await UserManager.ConfirmEmailAsync(userId, code);
I get a generic "Invalid Token"…

Carel
- 2,063
- 8
- 39
- 65
15
votes
5 answers
Best practices for email confirmation codes
I'm creating a PHP website which involves users signing up, and I'm wondering about best practices for "email confirmation" codes.
New users must confirm their email addresses - I do this by generating a code and sending it to the user in an email,…

Mala
- 14,178
- 25
- 88
- 119
13
votes
6 answers
How can I recieive confirmation for delivered email with JavaMail API?
I'm writing a program, that sends email messages and want to know when the receiver receives the email message I've sent to him. How can I do this using JavaMail API?
If I use SMTPMessage, how exactly to deal with the result after I've set the…

brain_damage
- 955
- 6
- 20
- 29
6
votes
2 answers
Cognito user is unable to reset his password, or ask for resent if his is in "force_change_password" status
If a cognito user lost his confirmation email is unable to reset his password, or ask for resent if his is in "force_change_password" status, and no error is displayed to him.
Is there any known fix on that?

Skpan
- 101
- 1
- 8
6
votes
4 answers
How to tell if user's email address has been verified using Django, allauth, rest-auth and a custom user
I'm using Django 2.0.10 with rest-framework, rest-auth and allauth. I have a custom user model.
I've got email verification working by using the allauth view. The verification email is sent when a user registers. If I click the link in the email,…

Little Brain
- 2,647
- 1
- 30
- 54
6
votes
1 answer
Rails Devise: "You need to sign in or sign up before continuing" instead of "You will receive an email with instructions.."
I have setup Devise on Rails 4.2.0 and everything seems to be working, I used the guide at:
http://sourcey.com/rails-4-omniauth-using-devise-with-twitter-facebook-and-linkedin/
My devise modules are:
devise :database_authenticatable, :registerable,…

David Ljung Madison Stellar
- 3,008
- 1
- 26
- 46
5
votes
1 answer
Strapi new user registration keeps getting "Email is already taken" error, no email confirmation either
I initialized a new Strapi server and with different databases and when registering a new user I keep getting the same "message": "Email is already taken" error. I used a different username and different email each time. I also couldn't get the…

reactTech
- 73
- 2
- 4
4
votes
2 answers
Rails User Sign Up Mail Confirmation
I'm trying to create a mailer that sends out an email whenever a user signs up. Pretty simple but I'm new to rails.
I have a site that already creates the user. I have a login and sign up page that works correctly, but need some help creating a…

Chris R
- 45
- 1
- 5
4
votes
0 answers
ASP.NET Core MVC Two-factor Email confirmation without Identity
i'm using ASP.NET MVC Core and i'm not using ASP.NET Identity.
Now i want to implement a email confirmation mechanism for the user's sign-in process.
The problem is that all the examples that i could find in the internet are using the…

MorgoZ
- 2,012
- 5
- 27
- 54
4
votes
3 answers
Is secure to use a md5 hash as registering string token?
I'm starting to develop the user's registration on my project. The users would confirm their registering by a link sent by email.
I thought I could use the email inserted on the form, plus a random salt, and hash this concatened string, so that…

Keoma Borges
- 683
- 2
- 12
- 27
4
votes
3 answers
How to make Confirmation link activate accounts in MVC4?
I am building an MVC 4 application starting with the default internet application. My goal is to send a confirmation email to users as they register to the website, i have managed to send the confirmation email but when i click on it the account is…

Komengem
- 3,662
- 7
- 33
- 57
3
votes
1 answer
Email confirmations are not stored Django allauth
I am using Django allauth with django-rest-auth. I implemented authentication with email confirmation. But now I realize that it does not work exactly as it should since I don't have stored send email confirmation in my DB (can't see them in admin).…

alphiii
- 1,597
- 3
- 21
- 27
3
votes
2 answers
In MediaWiki installation - How can I set email confirmation to be true for existing users and default the value for new users to true?
We have a closed wiki - and we want to set all existing users accounts to be confirmed. (when the user was added the email was added)
We also want to have that setting automatically set to true for new users.
What I want to do:
Default the email…

Tim
- 20,184
- 24
- 117
- 214