Skip to content
Snippets Groups Projects
Verified Commit f0ba0f97 authored by Mark's avatar Mark
Browse files

Exclude password field

parent 880dd9c9
No related branches found
No related tags found
No related merge requests found
...@@ -8,6 +8,7 @@ from database.database import scoped_session ...@@ -8,6 +8,7 @@ from database.database import scoped_session
class User(SQLAlchemyObjectType): class User(SQLAlchemyObjectType):
class Meta: class Meta:
model = UserModel model = UserModel
exclude_fields = ("password")
interfaces = (relay.Node, ) interfaces = (relay.Node, )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment