Skip to content

Commit

Permalink
chore: BotHP
Browse files Browse the repository at this point in the history
  • Loading branch information
kumy committed Oct 7, 2023
1 parent a03ba10 commit fce50c6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions website/app-templates/smarty/forms/registration.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
{call csrf}
<input type="hidden" id="username2" name="username2" value="">
<input type="hidden" id="username3" name="username3" value="">
<button id="registerButton" type="submit" class="btn btn-primary">{t}Register{/t}</button>
</div>
</div>
Expand Down
3 changes: 3 additions & 0 deletions website/app-templates/smarty/js/registration/username2.tpl.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

// Username 2
$("#username2").val(new Date().toISOString().slice(0, 10))
1 change: 1 addition & 0 deletions website/app-templates/smarty/pages/registration.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,5 @@
{block name=javascript}
{include 'js/registration/registration.validation.tpl.js'}
{include 'js/dialogs/dialog_terms_of_use.tpl.js'}
{include 'js/registration/username2.tpl.js'}
{/block}

0 comments on commit fce50c6

Please sign in to comment.