28 lines
464 B
Perl
28 lines
464 B
Perl
|
#!/usr/bin/perl -w
|
||
|
|
||
|
use strict;
|
||
|
use HTML::Template;
|
||
|
use RSSTootalizer::Website;
|
||
|
|
||
|
package RSSTootalizer::Website::Logout;
|
||
|
@RSSTootalizer::Website::Logout::ISA = qw(RSSTootalizer::Website);
|
||
|
|
||
|
sub requires_authentication {
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
sub fill_content {
|
||
|
return 1;
|
||
|
}
|
||
|
|
||
|
sub prerender {
|
||
|
my $self = shift;
|
||
|
$self->{"template"} = "Login";
|
||
|
$self->{"content_type"} = "html";
|
||
|
$self->{"params"}->{"currentmode"} = "Login";
|
||
|
|
||
|
$self->{"set_cookie"} = ("session_id=");
|
||
|
}
|
||
|
|
||
|
1;
|