mirror of
https://git.meshkee.com/Meshkee/backend.git
synced 2026-08-12 06:40:58 +04:30
Improve cross-site customer signup and login membership.
Same-password register joins silently; mismatched password explains the existing Meshkee account; login/OTP with domain attaches business membership. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
co-authored by
Cursor
parent
953b87b616
commit
acc8f35682
@@ -43,7 +43,7 @@ export class AuthController {
|
||||
|
||||
@Post('login-otp')
|
||||
loginWithOtp(@Body() dto: LoginOtpDto) {
|
||||
return this.authService.loginWithOtp(dto.cellNumber, dto.code);
|
||||
return this.authService.loginWithOtp(dto.cellNumber, dto.code, dto.domain);
|
||||
}
|
||||
|
||||
@Post('reset-password')
|
||||
|
||||
Reference in New Issue
Block a user