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

Commit d73d6ba

Browse files
committed
Changed variable name to owaspConfig
1 parent c0a1ce5 commit d73d6ba

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

modules/core/server/controllers/core.server.controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ exports.renderIndex = function (req, res) {
2626

2727
res.render('modules/core/server/views/index', {
2828
user: JSON.stringify(safeUserObject),
29-
owaspcfg: JSON.stringify(config.owasp)
29+
owaspConfig: JSON.stringify(config.owasp)
3030
});
3131
};
3232

modules/core/server/views/layout.server.view.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868

6969
<!--owasp config sync-->
7070
<script type="text/javascript">
71-
owaspPasswordStrengthTest.configs = {{{ owaspcfg }}};
71+
owaspPasswordStrengthTest.configs = {{{ owaspConfig }}};
7272
</script>
7373

7474
{{#if livereload}}

0 commit comments

Comments
 (0)