Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Commit

Permalink
Fixed minor type-o's and set owasp.config() rather than the underlyin…
Browse files Browse the repository at this point in the history
…g configs.
  • Loading branch information
wansco committed Sep 8, 2016
1 parent d73d6ba commit 8dcf3f6
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion modules/core/server/views/layout.server.view.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@

<!--owasp config sync-->
<script type="text/javascript">
owaspPasswordStrengthTest.configs = {{{ owaspConfig }}};
owaspPasswordStrengthTest.config({{{ owaspConfig }}});
</script>

{{#if livereload}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
function PasswordValidator($window) {
var owaspPasswordStrengthTest = $window.owaspPasswordStrengthTest;


var service = {
getResult: getResult,
getPopoverMsg: getPopoverMsg
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ var path = require('path'),

var smtpTransport = nodemailer.createTransport(config.mailer.options);


/**
* Forgot for reset password (forgot POST)
*/
Expand Down
2 changes: 1 addition & 1 deletion modules/users/server/models/user.server.model.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ var mongoose = require('mongoose'),
generatePassword = require('generate-password'),
owasp = require('owasp-password-strength-test');

owasp.configs = config.owasp;
owasp.config(config.owasp);


/**
Expand Down

0 comments on commit 8dcf3f6

Please sign in to comment.