coments
This commit is contained in:
@@ -18,7 +18,7 @@ export class AuthService {
|
||||
) {}
|
||||
|
||||
async register(data: registerDto){
|
||||
const{username, password,} = data;
|
||||
const{password,} = data;
|
||||
|
||||
//Seeks the password and if it finds it, it doesn't register
|
||||
if(await this.usersService.findOne(data.username)){
|
||||
|
||||
Reference in New Issue
Block a user