Skip to content

unsafe - #194

Open
Huddie wants to merge 2 commits into
masterfrom
unsafe
Open

unsafe#194
Huddie wants to merge 2 commits into
masterfrom
unsafe

Conversation

@Huddie

@Huddie Huddie commented Dec 31, 2019

Copy link
Copy Markdown
Collaborator

No description provided.

cursor.execute(f'UPDATE Users SET lastUpdated = NOW() WHERE id={__id};')

decrypted_password = decrypt(encrypted_password, '../../private/keys/private.pem')
decrypted_password = if (__unsafe) encrypted_password \

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wrong order, its:
encrypted_password if __unsafe else: decrypt....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants