Skip to content

Commit

Permalink
Removed: regex from viewport (#349)
Browse files Browse the repository at this point in the history
  • Loading branch information
signebedi committed Sep 9, 2024
1 parent 1eaa211 commit a1ff27e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions libreforms_fastapi/app/templates/change_password.html.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

{% block content %}
<h4>Change Password</h4>
{{config['PASSWORD_REGEX']}}

<form id="changePasswordForm">

Expand Down Expand Up @@ -61,7 +60,6 @@ $(document).ready(function() {
const passwordRegex = new RegExp({{ config['PASSWORD_REGEX']|tojson }});
const usernameRegex = new RegExp({{ config['USERNAME_REGEX']|tojson }});
// console.log({{ js_friendly_password_regex }});
window.validateField = function(fieldId, invalidMessage) {
Expand Down

0 comments on commit a1ff27e

Please sign in to comment.