Plugin::Auth::Extensible quick patch for logout page
11 Jan
2013
11 Jan
'13
6:19 p.m.
Hi, May I offer a quick fix for the "any ['get','post'] => $logoutpage => sub" in Plugin::Auth::Extensible? ---- #add a setting for logout redirect page my $logoutredirectpage = $settings->{logout_redirect_page} || '/login'; any ['get','post'] => $logoutpage => sub { session->destroy; redirect params->{return_url} || $logoutredirectpage; }; ---- Just a quick way for when the logout page is hit with a get, it can go somewhere... Thanks! Rick Bragg
4683
Age (days ago)
4683
Last active (days ago)
0 comments
1 participants
participants (1)
-
Rick Bragg