Skip to content
This repository has been archived by the owner on Sep 22, 2020. It is now read-only.

Commit

Permalink
Fix password validation when creating new user
Browse files Browse the repository at this point in the history
  • Loading branch information
jbuck committed Apr 10, 2015
1 parent dda7ac4 commit ee9e182
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/http/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -185,12 +185,12 @@ module.exports = function (http, modelsController, webmakerAuth) {
http.post(
"/api/v2/user/create",
middleware.audienceFilter(AUDIENCE_WHITELIST),
middleware.verifyPasswordStrength(true),
routes.user2.createUser(modelsController),
middleware.createOauthLogin(modelsController),
middleware.engagedWithReferrerCode(modelsController, {
"userStatus": "new"
}),
middleware.verifyPasswordStrength(true),
routes.user3.setPassword(modelsController),
middleware.filterUserAttributesForSession,
routes.user2.outputUser
Expand Down

0 comments on commit ee9e182

Please sign in to comment.