Skip to content

Commit

Permalink
disable signature checking for now
Browse files Browse the repository at this point in the history
  • Loading branch information
mmahdigh committed Jun 21, 2024
1 parent 1fd3da8 commit 51250d5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/auth/auth.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,12 @@ export class AuthController {
@Body() { message, signature, address, chainId }: LoginDTO,
) {
let isNewUser = false;
const isAuthentic = await this.authService.verifyUser(
message,
signature,
address,
);
if (!isAuthentic) throw new UnauthorizedException('Invalid signature');
// const isAuthentic = await this.authService.verifyUser(
// message,
// signature,
// address,
// );
// if (!isAuthentic) throw new UnauthorizedException('Invalid signature');
let user = await this.prismaService.user.findFirst({
where: { address },
});
Expand Down

0 comments on commit 51250d5

Please sign in to comment.