diff --git a/lib/src/routes/controllers/auth.dart b/lib/src/routes/controllers/auth.dart index 6983024..e2d02bf 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...