Giter VIP home page Giter VIP logo

Comments (4)

josecelano avatar josecelano commented on September 10, 2024

Relates to: #306

from torrust-index.

da2ce7 avatar da2ce7 commented on September 10, 2024

Option 3:

Do not register the user until the email has been validated.

  1. Ask the user to enter email.
  2. Send email to user:
    a. Send registration link, if unregistered.
    b. Send "you already have an account" email, if already registered.
  3. User completes registration, logs in, or reset password.

from torrust-index.

josecelano avatar josecelano commented on September 10, 2024

Option 3:

Do not register the user until the email has been validated.

  1. Ask the user to enter email.
  2. Send email to user:
    a. Send registration link, if unregistered.
    b. Send "you already have an account" email, if already registered.
  3. User completes registration, logs in, or reset password.

Option 3:

Do not register the user until the email has been validated.

  1. Ask the user to enter email.
  2. Send email to user:
    a. Send registration link, if unregistered.
    b. Send "you already have an account" email, if already registered.
  3. User completes registration, logs in, or reset password.

Hi @da2ce7 I think that is what the program does when email_on_signup is Required and email_verification_enabled is true. But currently it also tells you that the email is taken. We could simply allow duplicate emails, but a user could mistakenly write a wrong email which is valid. In that case, would be impossible to re-use that account (username).

from torrust-index.

mario-nt avatar mario-nt commented on September 10, 2024

@josecelano @da2ce7

I would do the following:

  1. Don't allow users to register until they verify their email adress.
  2. Add a captcha and/or a rate limit (IP) to the registration form to at least, make it harder to automatize checking a list of emails.
  3. I would NOT allow to have more than one account with the same email
  4. If a user tries to sign up/log in with someone's else's email, we could send a security warning to that email every time, letting that user know that someone is trying to sign up or sign in using that email.

I also think it could do some more research on this topic and see how other apps implements it.

from torrust-index.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.