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

Commit aed1cd9

Browse files
Improved error handling
1 parent 29e5bc4 commit aed1cd9

File tree

4 files changed

+11
-2
lines changed

4 files changed

+11
-2
lines changed

config/Version.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ class Version
1919
/**
2020
* @var string Application version.
2121
*/
22-
const APP = '6.4.6';
22+
const APP = '6.4.7';
2323
/**
2424
* @var string Date of publication of the application.
2525
*/
26-
const DATE = '2023.02.22';
26+
const DATE = '2023.07.14';
2727
}

layouts/Default/modules/Users/Login.tpl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
1515
<span aria-hidden="true">&times;</span>
1616
</button>
17+
{if is_array($ERROR)}
18+
{assign var="ERROR" value=print_r($ERROR,true)}
19+
{/if}
1720
{\App\Purifier::encodeHtml($ERROR)}
1821
</div>
1922
{/foreach}

layouts/Default/modules/Users/LoginPassReset.tpl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
1414
<span aria-hidden="true">&times;</span>
1515
</button>
16+
{if is_array($ERROR)}
17+
{assign var="ERROR" value=print_r($ERROR,true)}
18+
{/if}
1619
{\App\Purifier::encodeHtml($ERROR)}
1720
</div>
1821
{/foreach}

layouts/Default/modules/Users/LoginPassResetToken.tpl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
1818
<span aria-hidden="true">&times;</span>
1919
</button>
20+
{if is_array($ERROR)}
21+
{assign var="ERROR" value=print_r($ERROR,true)}
22+
{/if}
2023
{\App\Purifier::encodeHtml($ERROR)}
2124
</div>
2225
{/foreach}

0 commit comments

Comments
 (0)