apps/api: rename /signin -> /login
This commit is contained in:
parent
3616e36ed4
commit
d61532dcea
@ -68,7 +68,7 @@ export class AccountController {
|
||||
return this.accountService.delete(username);
|
||||
}
|
||||
|
||||
@Post('/signin')
|
||||
@Post('/login')
|
||||
async login(@Body() credentials: Credentials, @Res() reply: FastifyReply) {
|
||||
try {
|
||||
const token = await this.accountService.login(credentials);
|
||||
|
||||
@ -37,7 +37,7 @@ export class LdapController {
|
||||
}
|
||||
}
|
||||
|
||||
@Post('/signin')
|
||||
@Post('/login')
|
||||
@ApiResponse({
|
||||
status: HttpStatus.OK,
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user