stormpath / stormpath-express-react-example

Fullstack example application, using React, Express.js, and Stormpath
Apache License 2.0
106 stars 43 forks source link

Login Page Asks for Username or Email #16

Closed rdegges closed 8 years ago

rdegges commented 8 years ago

It should only ask for email, since there's no way to specify a username anywhere in this application. This is confusing.

typerandom commented 8 years ago

This actually originates from the view model.

See: https://github.com/stormpath/express-stormpath/blob/master/lib/config.yml#L137

@robertjd Do you have any input here?

robertjd commented 8 years ago

The default makes sense to me, as we don't know which way the developer will go with their application (do they want to support username+email, or just one or the other?). As such I don't see a need to change anything here, it's just a sample app for getting started and seeing what's possible.