Disable account creation for now

This commit is contained in:
Eelco Dolstra 2013-03-28 11:56:12 +01:00
parent f3aa48978e
commit ee5b762919
2 changed files with 4 additions and 0 deletions

View file

@ -62,6 +62,8 @@ sub setPassword {
sub register :Local Args(0) {
my ($self, $c) = @_;
die "Not implemented!\n";
$c->stash->{template} = 'user.tt';
$c->stash->{create} = 1;
return if $c->request->method ne "POST";

View file

@ -8,8 +8,10 @@ You can <a href="[% c.uri_for('/logout') %]">logout</a> here.
</p>
[% ELSE %]
<!--
<p>Don't have an account yet? Please <a href="[%
c.uri_for('/register') %]">register</a> first.</p>
-->
<br/>