Update auth.dart

This commit is contained in:
Tobe O 2017-02-25 09:01:49 -05:00 committed by GitHub
parent 3cb3681c66
commit 0bf8371f8d

View file

@ -37,7 +37,7 @@ class AuthController extends Controller {
} }
@Expose('/login', method: 'POST') @Expose('/login', method: 'POST')
login() async => auth.authenticate('local'); login() => auth.authenticate('local');
@Expose('/register', method: 'POST') @Expose('/register', method: 'POST')
register(RequestContext req, UserService userService) async { register(RequestContext req, UserService userService) async {