From 9822c03d5297cf284bc8d553ec116a4623a4eccf Mon Sep 17 00:00:00 2001 From: Tobe O Date: Wed, 21 Dec 2016 18:19:55 -0500 Subject: [PATCH] Update auth.dart --- lib/src/routes/controllers/auth.dart | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/src/routes/controllers/auth.dart b/lib/src/routes/controllers/auth.dart index 69830243..e2d02bfd 100644 --- a/lib/src/routes/controllers/auth.dart +++ b/lib/src/routes/controllers/auth.dart @@ -35,8 +35,6 @@ class AuthController extends Controller { await app.configure(auth); } - bool loggedIn(RequestContext req) => req.session['userId'] != null; - @Expose('/login', method: 'POST') login(RequestContext req) async { // Include log-in logic here...