-
-
Save hesco/759ef510a5638d65ccf3c7d2922afba0 to your computer and use it in GitHub Desktop.
In browser I see the redirect, but the setting for immediate expiration does not seem to be respected, in the browser. Are there other steps required?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Sun Apr 10 17:10:51 2016] [debug] GET "/validate/validate_a_petition_page" | |
[Sun Apr 10 17:10:51 2016] [debug] Routing to controller "Foo::Bar::Controller::Auth" and action "is_logged_in_as_validator" | |
[Sun Apr 10 17:10:51 2016] [debug] Your secret passphrase needs to be changed | |
[Sun Apr 10 17:10:51 2016] [debug] Rendering inline template "13a9ce5b82dfd3289d2e60629c92f91f" | |
[Sun Apr 10 17:10:51 2016] [debug] 403 Forbidden (0.003687s, 271.223/s) | |
[Sun Apr 10 17:10:51 2016] [debug] Routing to controller "Foo::Bar::Controller::AssetPage" and action "validate_page" | |
[Sun Apr 10 17:10:51 2016] [info] entering ->validate_page. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sub startup { | |
my $self = shift; | |
my $r = $self->routes; | |
my $validate = $r->under('/validate')->to('Auth#is_logged_in_as_validator'); | |
$validate->get('/asset')->to('AssetPage#asset'); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sub do_logout { | |
my $self = shift; | |
$self->session(expires => 1); | |
$self->redirect_to('http://www.eample.net'); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment