diff --git a/lib/cyberman.pm b/lib/cyberman.pm
index 6984f21..04a3ead 100644
--- a/lib/cyberman.pm
+++ b/lib/cyberman.pm
@@ -105,7 +105,6 @@ post '/register' => sub {
if (scalar(keys(%errs)) != 0) {
return template 'register' => {
error => 1,
- params,
%errs,
};
}
@@ -132,7 +131,6 @@ post '/register' => sub {
template 'login' => {
account_created => 1,
- params,
};
};
@@ -167,7 +165,6 @@ post '/login' => sub {
return template 'login' => {
error => 1,
%errs,
- params,
};
}
diff --git a/lib/cyberman/Domains.pm b/lib/cyberman/Domains.pm
index 92f709b..8610f56 100644
--- a/lib/cyberman/Domains.pm
+++ b/lib/cyberman/Domains.pm
@@ -52,7 +52,6 @@ post '/domains/new' => sub {
if (scalar(keys(%errs)) != 0) {
return template 'domains/new' => {
- params,
%errs,
error => 1,
};
diff --git a/views/domains/new.tt b/views/domains/new.tt
index c74827b..ab82b6b 100644
--- a/views/domains/new.tt
+++ b/views/domains/new.tt
@@ -11,10 +11,10 @@
You did not specify a domain to register.
<% END %>
<% IF e_exists %>
- The domain '<% name | html_entity %>.cyb' has already been registered. Please choose a different domain name.
+ The domain '<% params.name | html_entity %>.cyb' has already been registered. Please choose a different domain name.
<% END %>
<% IF e_chars %>
- The domain '<% name | html_entity %>.cyb' contains invalid characters. Domains must match the regular expression `^[a-z0-9]([a-z0-9\-_]*[a-z0-9])?$`.
+ The domain '<% params.name | html_entity %>.cyb' contains invalid characters. Domains must match the regular expression `^[a-z0-9]([a-z0-9\-_]*[a-z0-9])?$`.
<% END %>
diff --git a/views/login.tt b/views/login.tt
index 70154d6..9be713f 100644
--- a/views/login.tt
+++ b/views/login.tt
@@ -5,7 +5,7 @@
<% IF account_created %>