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

Commit

Permalink
Changed variable name to owaspConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
wansco committed Sep 8, 2016
1 parent c0a1ce5 commit d73d6ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/core/server/controllers/core.server.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ exports.renderIndex = function (req, res) {

res.render('modules/core/server/views/index', {
user: JSON.stringify(safeUserObject),
owaspcfg: JSON.stringify(config.owasp)
owaspConfig: JSON.stringify(config.owasp)
});
};

Expand Down
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 = {{{ owaspcfg }}};
owaspPasswordStrengthTest.configs = {{{ owaspConfig }}};
</script>

{{#if livereload}}
Expand Down

0 comments on commit d73d6ba

Please sign in to comment.