-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Email validation is not working on edit profile page #3522
Comments
Great catch. Thanks |
@jywarren email can be changed to anything. Users can also login with the incorrect email also. Please take a look. |
@vishalka98 great |
I think this would be a great project to plan out. What systems could we plan out to address this? Could we send an email validation when you try to change your email? Would we use a token? Would it expire? Thanks! |
Yes, same as we did on sign up |
@vishalka98 Add code links |
correct answer @igniteeng000 . |
@vishalka98 @jywarren @igniteeng000 I would like to work on this . Please assign me this. |
Hi! Assigning is not necessary -- please go ahead now that you've claimed
it, and THANK YOU!!!!! :-)
…On Mon, Oct 1, 2018 at 2:30 AM aashna27 ***@***.***> wrote:
@vishalka98 <https://github.com/vishalka98> @jywarren
<https://github.com/jywarren> @igniteeng000
<https://github.com/igniteeng000> I would like to work on this . Please
assign me this.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3522 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABfJ6SbB5-cTlflkaslBDMOI_-YZcAIks5ugbZUgaJpZM4W-Nhk>
.
|
Hi everyone - this is a relatively complex multi-part issue which could use some planning and breaking up into smaller pieces. Please think about how we might take an initial step. We have a welcome email that's sent - could we require email validation using a link included there? How might we generate a unique secret token that'd be included in that validation link? Thank you! |
Just wanted to give my views on this issue. :) I can think of two ways to fix it: 1. Requires saving tokens in DBWe create a new model in the project called
We can use some cronjob to remove the old entries every week. Otherwise table might get quite large with time. 2. Doesn't require saving tokens in DBIn this case we will use some secret key. We will encrypt json
with some secret key and send it to the user. User won't be able to see and modify the data because both operations would require secret key. When user will open the link, we will try to decrypt the data. After decryption, we will have email_id and timestamp values. From email, we can identify user uniquely. From timestamp we can make sure that link was generated within last I personally like second approach. |
I'm working on breaking up this issue and will create new ones by tomorrow. |
Wow, awesome, and many thanks!
…On Thu, Oct 25, 2018, 4:43 PM Radhika Dua ***@***.*** wrote:
I'm working on breaking up this issue and create new ones by tomorrow.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3522 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABfJ3MRuQHweBVaBt2AWvWgewHmZrmmks5uoiJrgaJpZM4W-Nhk>
.
|
Please describe the problem (or idea)
on updating profile page email validation is not working.
Email validation should occur while changing email in edit profile
Please show us where to look
https://publiclab.org/profile/"username"/edit
What's your PublicLab.org username?
caiptanamerica234
Browser, version, and operating system
windows 10-chrome
Thank you!
Your help makes Public Lab better! We deeply appreciate your helping refine and improve this site.
To learn how to write really great issues, which increases the chances they'll be resolved, see:
https://publiclab.org/wiki/developers#Contributing+for+non-coders
The text was updated successfully, but these errors were encountered: