Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Commit

Permalink
bug fix logout log
Browse files Browse the repository at this point in the history
  • Loading branch information
fherryfherry committed Jan 10, 2017
1 parent a4c3830 commit 140c76d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/controllers/AdminController.php
Expand Up @@ -138,10 +138,11 @@ public function postForgot() {
}

public function getLogout() {
Session::flush();

$me = CRUDBooster::me();
CRUDBooster::insertLog(trans("crudbooster.log_logout",['email'=>$me->email]));

Session::flush();
return redirect()->route('getLogin')->with('message',trans("crudbooster.message_after_logout"));
}

Expand Down

0 comments on commit 140c76d

Please sign in to comment.