Less enetering
This commit is contained in:
@@ -58,7 +58,7 @@ module.exports = React.createClass({
|
|||||||
// the registration form will be unmounted during the
|
// the registration form will be unmounted during the
|
||||||
// course of registration, but if there's an error we
|
// course of registration, but if there's an error we
|
||||||
// want to bring back the registration form with the
|
// want to bring back the registration form with the
|
||||||
// values the user enetered still in it. We can keep
|
// values the user entered still in it. We can keep
|
||||||
// them in this component's state since this component
|
// them in this component's state since this component
|
||||||
// persist for the duration of the registration process.
|
// persist for the duration of the registration process.
|
||||||
formVals: {
|
formVals: {
|
||||||
|
|||||||
@@ -40,8 +40,8 @@ module.exports = React.createClass({
|
|||||||
defaultUsername: React.PropTypes.string,
|
defaultUsername: React.PropTypes.string,
|
||||||
defaultPassword: React.PropTypes.string,
|
defaultPassword: React.PropTypes.string,
|
||||||
|
|
||||||
// A username that will be used if no username is enetered.
|
// A username that will be used if no username is entered.
|
||||||
// Specifying this param will also warn the user that enetering
|
// Specifying this param will also warn the user that entering
|
||||||
// a different username will cause a fresh account to be generated.
|
// a different username will cause a fresh account to be generated.
|
||||||
guestUsername: React.PropTypes.string,
|
guestUsername: React.PropTypes.string,
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user