summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorspiderr <spiderr@bitweaver.org>2021-05-07 13:26:32 -0400
committerspiderr <spiderr@bitweaver.org>2021-05-07 13:26:32 -0400
commit3405605d3b8397890ab77513a9b8fde2cd419293 (patch)
treee33e04b9ec8c1cef93be17f10819a955275db730 /templates
parent402167839acf922740eaa7c5df7573e720d02a67 (diff)
downloadusers-3405605d3b8397890ab77513a9b8fde2cd419293.tar.gz
users-3405605d3b8397890ab77513a9b8fde2cd419293.tar.bz2
users-3405605d3b8397890ab77513a9b8fde2cd419293.zip
tidy up register.tpl to not flag on $msg; check HTTP_REFERER in securityViolation log
Diffstat (limited to 'templates')
-rw-r--r--templates/login_inc.tpl2
-rw-r--r--templates/register.tpl6
2 files changed, 2 insertions, 6 deletions
diff --git a/templates/login_inc.tpl b/templates/login_inc.tpl
index 23503ad..d9e9975 100644
--- a/templates/login_inc.tpl
+++ b/templates/login_inc.tpl
@@ -12,7 +12,9 @@
<hr>
{/if}
+ <div class="form-group">
{formfeedback error=$error}
+ </div>
<div class="form-group">
{formlabel label="Username or Email" for="user"}
diff --git a/templates/register.tpl b/templates/register.tpl
index 8873018..c138f46 100644
--- a/templates/register.tpl
+++ b/templates/register.tpl
@@ -1,9 +1,5 @@
{strip}
-{if $msg}
- <div class="alert alert-info">{$msg|escape}</div>
-{else}
-
{form class="col-md-6 col-xs-12 form-horizontal" action="`$smarty.const.USERS_PKG_URL`register.php" enctype="multipart/form-data" legend="Register as a new user" secure=$gBitSystem->isFeatureActive("site_https_login_required")}
{foreach from=$reg.CUSTOM item='custom' key='custom_name'}
<input type="hidden" name="CUSTOM[{$custom_name}]" value="{$custom}"/>
@@ -236,7 +232,5 @@
</div>
{/form}
-{/if}
-
{/strip}