Comments (6)
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.
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.
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.
This topic can probably be closed now since we added this feature.
from userfrosting.
Done!
from userfrosting.
I must be blind, where was this implemented?
from userfrosting.
Related Issues (20)
- RequestSchema constructor fails silently on bad filename HOT 4
- Missing default permission HOT 6
- [V4 & V5] HTML in `page_description` block bleed in the template
- [FR] Order migrations by sprinkle HOT 3
- Blank user alert on account creation, when UF5 can't connect to SMTP HOT 1
- [Sprinkle-Admin] User_defaults.group doesn't work on Form "Create User" HOT 3
- [Bug] Default handling for "renderError.ufModal"
- Auto publish npm version via GitHub Action
- Add PHP 8.3 official support and testing HOT 1
- Update to Laravel 10 HOT 1
- Possible Security issue, but could be just my environment. HOT 3
- Test against MariaDB
- Editing a role permissions erase all permissions HOT 1
- [UF5] AppController says "safe to be deleted", but this breaks 4 routes HOT 2
- Dockerfile - npm missing from the App Image HOT 1
- [5.0] Two sprinkles can't have the same name HOT 3
- Remove index named route dependency in Admin / AdminLTE sprinkle HOT 1
- [Feature request] Logout all users / specific user from all device
- How to make a good app unusable for 90% of developers HOT 1
- [Bug][Fortress] YAML validator with no attributes passes null parameter, causes argument type error at runtime HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from userfrosting.