From ee5b76291962ea84dc3092555e9ebbe48faa3441 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 28 Mar 2013 11:56:12 +0100 Subject: [PATCH] Disable account creation for now --- src/lib/Hydra/Controller/User.pm | 2 ++ src/root/login.tt | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/lib/Hydra/Controller/User.pm b/src/lib/Hydra/Controller/User.pm index 77ae643a..a013f6c1 100644 --- a/src/lib/Hydra/Controller/User.pm +++ b/src/lib/Hydra/Controller/User.pm @@ -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"; diff --git a/src/root/login.tt b/src/root/login.tt index 6bb7368f..5d69f3ea 100644 --- a/src/root/login.tt +++ b/src/root/login.tt @@ -8,8 +8,10 @@ You can logout here.

[% ELSE %] +