Closed elpete closed 3 years ago
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.
sameUser
false
secureSameUser
Just as
sameUser
returnsfalse
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.