Skip to content

Commit

Permalink
login action always goes to index.php
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
  • Loading branch information
d00p committed Aug 25, 2021
1 parent 4b22470 commit 5d375b7
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 44 deletions.
2 changes: 1 addition & 1 deletion templates/Sparkle/login/fpwd.tpl
Expand Up @@ -10,7 +10,7 @@ $header
</div>
</if>
<section class="loginsec">
<form method="post" action="$filename" enctype="application/x-www-form-urlencoded">
<form method="post" action="index.php" enctype="application/x-www-form-urlencoded">
<fieldset>
<legend>Froxlor&nbsp;-&nbsp;{$lng['login']['presend']}</legend>
<p>
Expand Down
2 changes: 1 addition & 1 deletion templates/Sparkle/login/login.tpl
Expand Up @@ -25,7 +25,7 @@ $header
</if>

<section class="loginsec">
<form method="post" action="$filename" enctype="application/x-www-form-urlencoded">
<form method="post" action="index.php" enctype="application/x-www-form-urlencoded">
<input type="hidden" name="script" value="{$lastscript}" />
<input type="hidden" name="qrystr" value="{$lastqrystr}" />
<fieldset>
Expand Down
41 changes: 0 additions & 41 deletions templates/Sparkle/login/login_ftp.tpl

This file was deleted.

2 changes: 1 addition & 1 deletion templates/Sparkle/login/rpwd.tpl
Expand Up @@ -11,7 +11,7 @@ $header
</if>
<section class="loginsec">
<h3>{$lng['pwdreminder']['choosenew']}</h3>
<form method="post" action="{$filename}?action=resetpwd&resetcode={$activationcode}" enctype="application/x-www-form-urlencoded">
<form method="post" action="index.php?action=resetpwd&resetcode={$activationcode}" enctype="application/x-www-form-urlencoded">
<fieldset>
<legend>Froxlor&nbsp;-&nbsp;{$lng['login']['presend']}</legend>
<p>
Expand Down

0 comments on commit 5d375b7

Please sign in to comment.