Update auth.dart

This commit is contained in:
Tobe O 2017-02-24 07:33:17 -05:00 committed by GitHub
parent a0d0ddd690
commit ebdc13cc43

View file

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