Skip to content

Commit

Permalink
Improved error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
mariuszkrzaczkowski committed Jul 14, 2023
1 parent 29e5bc4 commit aed1cd9
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/Version.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ class Version
/**
* @var string Application version.
*/
const APP = '6.4.6';
const APP = '6.4.7';
/**
* @var string Date of publication of the application.
*/
const DATE = '2023.02.22';
const DATE = '2023.07.14';
}
3 changes: 3 additions & 0 deletions layouts/Default/modules/Users/Login.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
{if is_array($ERROR)}
{assign var="ERROR" value=print_r($ERROR,true)}
{/if}
{\App\Purifier::encodeHtml($ERROR)}
</div>
{/foreach}
Expand Down
3 changes: 3 additions & 0 deletions layouts/Default/modules/Users/LoginPassReset.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
{if is_array($ERROR)}
{assign var="ERROR" value=print_r($ERROR,true)}
{/if}
{\App\Purifier::encodeHtml($ERROR)}
</div>
{/foreach}
Expand Down
3 changes: 3 additions & 0 deletions layouts/Default/modules/Users/LoginPassResetToken.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
{if is_array($ERROR)}
{assign var="ERROR" value=print_r($ERROR,true)}
{/if}
{\App\Purifier::encodeHtml($ERROR)}
</div>
{/foreach}
Expand Down

0 comments on commit aed1cd9

Please sign in to comment.