Skip to content

Commit dd75d94

Browse files
committed
Add login token and redirect fields
Signed-off-by: Matt Friedman <maf675@gmail.com>
1 parent 736092f commit dd75d94

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

styles/prosilver/template/common/login_body.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,12 @@ <h2>{% if LOGIN_EXPLAIN %}{{ LOGIN_EXPLAIN }}{% else %}{{ lang('LOGIN') }}{% end
3838
{% endif %}
3939
<dl>
4040
<dt>&nbsp;</dt>
41-
<dd>{{ S_HIDDEN_FIELDS }}<input type="submit" name="login" tabindex="6" value="{{ lang('LOGIN') }}" class="button1" /></dd>
41+
<dd>
42+
{{ S_HIDDEN_FIELDS }}
43+
{{ S_LOGIN_REDIRECT }}
44+
{{ S_FORM_TOKEN_LOGIN }}
45+
<input type="submit" name="login" tabindex="6" value="{{ lang('LOGIN') }}" class="button1" />
46+
</dd>
4247
</dl>
4348

4449
</fieldset>

styles/prosilver/template/login_body.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,12 @@ <h2>{% if LOGIN_EXPLAIN %}{{ LOGIN_EXPLAIN }}{% else %}{{ lang('LOGIN') }}{% end
3333

3434
<dl>
3535
<dt>&nbsp;</dt>
36-
<dd>{{ S_HIDDEN_FIELDS }}<input type="submit" name="login" tabindex="6" value="{{ lang('LOGIN') }}" class="button1" /></dd>
36+
<dd>
37+
{{ S_HIDDEN_FIELDS }}
38+
{{ S_LOGIN_REDIRECT }}
39+
{{ S_FORM_TOKEN_LOGIN }}
40+
<input type="submit" name="login" tabindex="6" value="{{ lang('LOGIN') }}" class="button1" />
41+
</dd>
3742
</dl>
3843

3944
</fieldset>

0 commit comments

Comments
 (0)