Comments (6)
Would you like to make a PR for that?
from accounts-password-client-side.
I found the error.. my user has just a username as a email..so he does not have a email attribute.
and the selector if checking if has @
to find by email.. isnt possible to make a equals username OR email?
from accounts-password-client-side.
@mariohmol, Good to hear that you solved it.
I saw that you had multiple issues about this problem.
Therefor, does the package work for you? Does the issue can be closed?
Regard your question, as far as I know you need to explicit pass object for email or username. Otherwise, pass a string to the method will try to identify the "type" by the existence of @
accounts-password code.
from accounts-password-client-side.
Yes.. i could made it working using user and email, but if you see this link:
There for instance says an use email or username:
"user Object or String
Either a string interpreted as a username or an email; or an object with a single key: email, username or id. Username or email match in a case insensitive manner"
But if i do that using this module it required to pass both and to be honest thats allright.. tha only suggestion that i would do is about documentation on readme.. someome code snippets in readme and tips like this (must use email and user).. would be great..
from accounts-password-client-side.
@mariohmol it shouldn't be different from what the meteor docs says. Due to it is client side of the meteor code just bundled separately.
So, you don't need to expect for any differences.
from accounts-password-client-side.
I see.. so maybe there need to be fixed.. but anyway.. if you point your readme to this link https://guide.meteor.com/accounts.html#accounts-password would be good!
.. and even there i cant find a example using loginWithPassword.. its crazy...
from accounts-password-client-side.
Related Issues (8)
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 accounts-password-client-side.