Giter Site home page Giter Site logo

Comments (6)

alexweissman avatar alexweissman commented on May 17, 2024

Hmm...it's possible, but not sure if it's advisable from a security standpoint:

http://lastwatchdog.com/zappos-hack-shows-risk-e-mail-account-username/
"Many use the same e-mail address and password to create financial transaction accounts across multiple websites. Cybercriminals know this and are expert at taking full advantage."

However, I can see the advantage from a usability standpoint. One simple way would be to allow users to log in with EITHER their username or email. Then it's just a matter of checking both fields when the login request is processed (in "process_login.php").

from userfrosting.

thedead avatar thedead commented on May 17, 2024

Interesting, however most people use the same usernames everywhere :)

I guess I could make the username auto-populate to the email address and have the login check for either as you mentioned.

from userfrosting.

alexweissman avatar alexweissman commented on May 17, 2024

Yeah, that's actually a good point. It seems like a decision that should be up to the site administrators - so, let's make a "enable email log in" option in the site configuration. In that case, it's extra important that users specify a unique email address when their account is created.

Also, if this toggle is enabled, how should new account registration proceed (via register.php)? Still ask them to specify a username, or just automatically copy their email address to their username field?

from userfrosting.

lilfade avatar lilfade commented on May 17, 2024

This topic can probably be closed now since we added this feature.

from userfrosting.

alexweissman avatar alexweissman commented on May 17, 2024

Done!

from userfrosting.

MACscr avatar MACscr commented on May 17, 2024

I must be blind, where was this implemented?

from userfrosting.

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.