Update auth.dart
This commit is contained in:
parent
aa61dd4a9c
commit
9822c03d52
1 changed files with 0 additions and 2 deletions
|
@ -35,8 +35,6 @@ class AuthController extends Controller {
|
||||||
await app.configure(auth);
|
await app.configure(auth);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool loggedIn(RequestContext req) => req.session['userId'] != null;
|
|
||||||
|
|
||||||
@Expose('/login', method: 'POST')
|
@Expose('/login', method: 'POST')
|
||||||
login(RequestContext req) async {
|
login(RequestContext req) async {
|
||||||
// Include log-in logic here...
|
// Include log-in logic here...
|
||||||
|
|
Loading…
Reference in a new issue