Skip to content

Commit

Permalink
Update app.py
Browse files Browse the repository at this point in the history
  • Loading branch information
krrish-v committed Jun 12, 2022
1 parent 1c1be2a commit 5be2a8f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions BLOCK/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ def register(phone, password, country, state, zipcode):
api = create_api().api()
ins_api_key = databse.user_api().insert(api)
load, prv = blk.rsa().loadkey(token)
password = blk.hash384(password) # password is stored in hash form
in_data = get_in_data.insert(token, password, firstname, lastname, address, country, state, zip_code, phone_no, status, date)

if in_data is True and ins_api_key is True:
Expand Down

0 comments on commit 5be2a8f

Please sign in to comment.