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:
Alireza Hassani
2026-08-10 01:02:47 +03:30
co-authored by Cursor
parent 953b87b616
commit acc8f35682
4 changed files with 96 additions and 18 deletions
+1 -1
View File
@@ -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')