Inheritance: extends Illuminate\Support\ServiceProvider
Exemplo n.º 1
0
 public function account_POST(Request $request)
 {
     //login check
     if (!UserService::isLoggedIn()) {
         return ['status' => 302, 'location' => '#login'];
     }
     return CryptoService::loadPage($request, 'user.account');
 }
Exemplo n.º 2
0
 public function logoff_GET(Request $request)
 {
     UserService::logout();
     return redirect('/');
 }