Skip to content

Commit 2ca7ccf

Browse files
authored
Fix a few typos (#676)
1 parent 85df784 commit 2ca7ccf

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

src/authentication/db-connection.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ DBConnection.prototype.signup = function(options, cb) {
7272
*
7373
* @method changePassword
7474
* @param {Object} options
75-
* @param {String} options.email address where the user will recieve the change password email. It should match the user's email in Auth0
75+
* @param {String} options.email address where the user will receive the change password email. It should match the user's email in Auth0
7676
* @param {String} options.connection name of the connection where the user was created
7777
* @param {changePasswordCallback} cb
7878
* @see {@link https://auth0.com/docs/api/authentication#change-password}

src/web-auth/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ WebAuth.prototype.checkSession = function(options, cb) {
410410
*
411411
* @method changePassword
412412
* @param {Object} options
413-
* @param {String} options.email address where the user will recieve the change password email. It should match the user's email in Auth0
413+
* @param {String} options.email address where the user will receive the change password email. It should match the user's email in Auth0
414414
* @param {String} options.connection name of the connection where the user was created
415415
* @param {changePasswordCallback} cb
416416
* @see {@link https://auth0.com/docs/api/authentication#change-password}

src/web-auth/popup.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,8 @@ Popup.prototype.authorize = function(options, cb) {
148148
}
149149
);
150150

151-
// the relay page should not be necesary as long it happens in the same domain
152-
// (a redirectUri shoul be provided). It is necesary when using OWP
151+
// the relay page should not be necessary as long it happens in the same domain
152+
// (a redirectUri shoul be provided). It is necessary when using OWP
153153
relayUrl = urljoin(this.baseOptions.rootUrl, 'relay.html');
154154

155155
// if a owp is enabled, it should use the owp flag

test/helper/response-handler.test.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -151,13 +151,13 @@ describe('helpers responseHandler', function() {
151151

152152
it('should return the data 2', function(done) {
153153
var assert_data = {
154-
text: 'The reponse message',
154+
text: 'The response message',
155155
type: 'text/html'
156156
};
157157

158158
responseHandler(function(err, data) {
159159
expect(err).to.be(null);
160-
expect(data).to.eql('The reponse message');
160+
expect(data).to.eql('The response message');
161161
done();
162162
})(null, assert_data);
163163
});

0 commit comments

Comments
 (0)