feat: refactoring auth & add email password login (#318)
* feat: wip * fix: issues * feat: clean controllers and services * fix: test * Fix auth --------- Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class UserMinAggregateInput {
|
||||
@ -36,7 +37,7 @@ export class UserMinAggregateInput {
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
phoneNumber?: true;
|
||||
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
@HideField()
|
||||
passwordHash?: true;
|
||||
|
||||
@Field(() => Boolean, { nullable: true })
|
||||
|
||||
Reference in New Issue
Block a user