Skip to content

Commit

Permalink
Revert validator toggle change.
Browse files Browse the repository at this point in the history
  • Loading branch information
EreMaijala committed Jan 31, 2025
1 parent 1ee355d commit 86b6e4a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion themes/bootstrap5/templates/myresearch/account.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<h2><?=$this->transEsc('User Account')?></h2>
<?=$this->flashmessages()?>

<form method="post" name="accountForm" id="accountForm" class="form-user-create" data-toggle="validator">
<form method="post" name="accountForm" id="accountForm" class="form-user-create" data-bs-toggle="validator">
<?=$this->auth()->getCreateFields()?>
<?=$this->captcha()->html($this->useCaptcha) ?>
<div class="form-group">
Expand Down
2 changes: 1 addition & 1 deletion themes/bootstrap5/templates/myresearch/changeemail.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<?php if (!$this->auth()->getManager()->supportsEmailChange($this->auth_method)): ?>
<div class="error"><?=$this->transEsc('change_email_disabled') ?></div>
<?php else: ?>
<form id="newemail" class="form-new-email" action="<?=$this->url('myresearch-changeemail') ?>" method="post" data-toggle="validator">
<form id="newemail" class="form-new-email" action="<?=$this->url('myresearch-changeemail') ?>" method="post" data-bs-toggle="validator">
<input type="hidden" value="<?=$this->escapeHtmlAttr($this->auth()->getManager()->getCsrfHash())?>" name="csrf">
<div class="form-group">
<label class="control-label"><?=$this->transEsc('Email Address') ?>:</label>
Expand Down
2 changes: 1 addition & 1 deletion themes/bootstrap5/templates/myresearch/newpassword.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<?php elseif (!isset($this->hash)): ?>
<div class="error"><?=$this->transEsc('recovery_user_not_found') ?></div>
<?php else: ?>
<form id="newpassword" class="form-new-password" action="<?=$this->url('myresearch-newpassword') ?>" method="post" data-toggle="validator">
<form id="newpassword" class="form-new-password" action="<?=$this->url('myresearch-newpassword') ?>" method="post" data-bs-toggle="validator">
<input type="hidden" value="<?=$this->escapeHtmlAttr($this->auth()->getManager()->getCsrfHash())?>" name="csrf">
<input type="hidden" value="<?=$this->escapeHtmlAttr($this->hash) ?>" name="hash">
<input type="hidden" value="<?=$this->escapeHtmlAttr($this->username) ?>" name="username">
Expand Down

0 comments on commit 86b6e4a

Please sign in to comment.