Update auth.dart
This commit is contained in:
parent
3cb3681c66
commit
0bf8371f8d
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue