forked from lix-project/hydra
Disable account creation for now
This commit is contained in:
parent
f3aa48978e
commit
ee5b762919
|
@ -62,6 +62,8 @@ sub setPassword {
|
||||||
sub register :Local Args(0) {
|
sub register :Local Args(0) {
|
||||||
my ($self, $c) = @_;
|
my ($self, $c) = @_;
|
||||||
|
|
||||||
|
die "Not implemented!\n";
|
||||||
|
|
||||||
$c->stash->{template} = 'user.tt';
|
$c->stash->{template} = 'user.tt';
|
||||||
$c->stash->{create} = 1;
|
$c->stash->{create} = 1;
|
||||||
return if $c->request->method ne "POST";
|
return if $c->request->method ne "POST";
|
||||||
|
|
|
@ -8,8 +8,10 @@ You can <a href="[% c.uri_for('/logout') %]">logout</a> here.
|
||||||
</p>
|
</p>
|
||||||
[% ELSE %]
|
[% ELSE %]
|
||||||
|
|
||||||
|
<!--
|
||||||
<p>Don't have an account yet? Please <a href="[%
|
<p>Don't have an account yet? Please <a href="[%
|
||||||
c.uri_for('/register') %]">register</a> first.</p>
|
c.uri_for('/register') %]">register</a> first.</p>
|
||||||
|
-->
|
||||||
|
|
||||||
<br/>
|
<br/>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue