Skip to content

Commit 669c447

Browse files
committed
Fix hook ACCOUNT_LOGIN_BEFORE_ACCOUNT location
1 parent da43b32 commit 669c447

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

system/templates/account.login.html.twig

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,21 +24,28 @@ Please enter your account {{ account|lower }} and your password.<br/><a href="{{
2424
<td>
2525
<div class="InnerTableContainer">
2626
<table style="width:100%;" >
27-
{{ hook('HOOK_ACCOUNT_LOGIN_BEFORE_PASSWORD') }}
27+
28+
{{ hook('HOOK_ACCOUNT_LOGIN_BEFORE_ACCOUNT') }}
29+
2830
<tr>
2931
<td class="LabelV" >
3032
<span{% if error is not null %} class="red"{% endif %}>{{ account_login_by }}:</span>
3133
</td>
3234
<td style="width:100%;" ><input type="text" name="account_login" size="30" maxlength="{{ setting('core.account_login_by_email') ? '255' : '30' }}" autofocus/></td>
3335
</tr>
36+
3437
{{ hook('HOOK_ACCOUNT_LOGIN_AFTER_ACCOUNT') }}
38+
{{ hook('HOOK_ACCOUNT_LOGIN_BEFORE_PASSWORD') }}
39+
3540
<tr>
3641
<td class="LabelV" >
3742
<span{% if error is not null %} class="red"{% endif %}>Password:</span>
3843
</td>
3944
<td><input type="password" name="password_login" size="30" maxlength="29" ></td>
4045
</tr>
46+
4147
{{ hook('HOOK_ACCOUNT_LOGIN_AFTER_PASSWORD') }}
48+
4249
<tr>
4350
<td class="LabelV" ></td>
4451
<td><input type="checkbox" id="remember_me" name="remember_me" value="true" />

0 commit comments

Comments
 (0)