Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
9 lines (8 sloc) 194 Bytes
<?php
$app->get("/logout", function() use($app){
$app->logout();
if (isset($app->GET->redirect))
return $app->redirect($app->GET->redirect);
$app->redirect("/login");
});
?>