Skip to content

Comments

Add a secureSameUser method to throw when passed a different user#29

Merged
lmajano merged 1 commit intodevelopmentfrom
secure_same_user
Mar 10, 2021
Merged

Add a secureSameUser method to throw when passed a different user#29
lmajano merged 1 commit intodevelopmentfrom
secure_same_user

Conversation

@elpete
Copy link
Contributor

@elpete elpete commented Mar 9, 2021

Just as sameUser returns false when the passed in user is different than the logged in user, secureSameUser will throw when the passed in user is different than the logged in user.

@elpete elpete requested a review from lmajano March 9, 2021 01:57
@elpete elpete force-pushed the secure_same_user branch from c5a00aa to 2d2eee1 Compare March 9, 2021 01:58
Just as `sameUser` returns `false` when the passed in user is different than the logged in user, `secureSameUser` will throw when the passed in user is different than the logged in user.
@elpete elpete force-pushed the secure_same_user branch from 2d2eee1 to a068895 Compare March 9, 2021 01:59
@lmajano lmajano merged commit 1f689e6 into development Mar 10, 2021
@lmajano lmajano deleted the secure_same_user branch March 29, 2023 14:20
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