Update auth.dart
This commit is contained in:
parent
a0d0ddd690
commit
ebdc13cc43
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ class AuthController extends Controller {
|
|||
}
|
||||
|
||||
@Expose('/login', method: 'POST')
|
||||
login(RequestContext req) async => auth.authenticate('local');
|
||||
login() async => auth.authenticate('local');
|
||||
|
||||
@Expose('/register', method: 'POST')
|
||||
register(RequestContext req, UserService userService) async {
|
||||
|
|
Loading…
Reference in a new issue