We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30319d8 commit b62fb50Copy full SHA for b62fb50
src/Signup.js
@@ -51,6 +51,9 @@ class Signup {
51
52
/**
53
* Registration logic class
54
+ * This exists for the lifetime of a user's attempt to register an account,
55
+ * so if their registration attempt fails for whatever reason and they
56
+ * try again, call register() on the same instance again.
57
*/
58
class Register extends Signup {
59
constructor(hsUrl, isUrl, opts) {
@@ -117,6 +120,9 @@ class Register extends Signup {
117
120
});
118
121
}
119
122
123
+ /**
124
+ * Starts the registration process from the first stage
125
+ */
126
register(formVals) {
127
var {username, password, email} = formVals;
128
this.email = email;
0 commit comments