We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5fdf986 commit fbcf5aaCopy full SHA for fbcf5aa
‎app/core/security.py‎
@@ -47,21 +47,6 @@ async def create_user(email: str, password: str):
47
})
48
49
50
- user = session.user
51
-
52
- db.table('credits').insert({
53
- 'user_id': user.id,
54
- 'balance': settings.USER_DAILY_CREDITS # starting balance for registered users
55
- }).execute()
56
57
58
59
60
61
62
63
64
65
def create_api_key(user) -> str:
66
"""Create JWT token for API authentication"""
67
0 commit comments