Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

cfg.abs_root_url -ize signin/up form actions

  • Loading branch information...
commit a870f6563645d2a53d255cd375bd33602c70f385 1 parent 10f51c1
straup authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  www/templates/page_signin.txt
  2. +1 −1  www/templates/page_signup.txt
2  www/templates/page_signin.txt
View
@@ -6,7 +6,7 @@
{if $error_deleted} <p class="error">Account has been deleted.</p>{/if}
{if $error_password} <p class="error">Incorrect password.</p>{/if}
-<form action="/signin/" method="post" accept-encoding="UTF-8">
+<form action="{$cfg.abs_root_url}signin/" method="post" accept-encoding="UTF-8">
<input type="text" name="email" size="40" value="{$email|escape}" /><label for="email">email address</label><br />
<input type="password" name="password" size="40" /><label for="password">password</label><br />
<input type="hidden" name="signin" value="1" />
2  www/templates/page_signup.txt
View
@@ -6,7 +6,7 @@
{if $error_username_taken} <p class="error">Username is taken.</p>{/if}
{if $error_failed} <p class="error">Failed for an unknown reason :(</p>{/if}
-<form action="/signup/" method="post" accept-encoding="UTF-8">
+<form action="{$cfg.abs_root_url}signup/" method="post" accept-encoding="UTF-8">
<input type="text" name="username" size="40" value="{$username|escape}" /><label for="username">username</label><br />
<input type="text" name="email" size="40" value="{$email|escape}" /><label for="email">email address</label><br />
<input type="password" name="password" size="40" value="{$password|escape}" /><label for="password">password</label><br />
Please sign in to comment.
Something went wrong with that request. Please try again.