X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=Memories.pm;h=8536d1793c5d524800df05b49ab60344c6dbd86d;hb=f9656aa2ad257959dd4ed469714ca75791b70040;hp=0aebf11fab5cf447bbdadd0b047c800ffbf725b3;hpb=7767c51977a235b2f9205da1a94b07ba55ad2f52;p=memories.git diff --git a/Memories.pm b/Memories.pm index 0aebf11..8536d17 100644 --- a/Memories.pm +++ b/Memories.pm @@ -91,6 +91,7 @@ sub authenticate { my ($self, $r) = @_; return DECLINED if $self->path =~/static|store/; # XXX $r->get_user; + if (!$r->user and $self->path =~ /upload/) { $r->template("login"); } return OK; }