Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Access check needs to be inverse
  • Loading branch information
regalijan committed Oct 19, 2023
1 parent 6589037 commit 05a0d19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions functions/api/data-transfers/create.ts
Expand Up @@ -3,8 +3,8 @@ export async function onRequestPost(context: RequestContext) {

if (
typeof has_access !== "boolean" ||
(has_access && typeof cookie !== "string") ||
(has_access &&
(!has_access && typeof cookie !== "string") ||
(!has_access &&
!cookie.match(
/_\|WARNING:-DO-NOT-SHARE-THIS\.--Sharing-this-will-allow-someone-to-log-in-as-you-and-to-steal-your-ROBUX-and-items\.\|_[A-F\d]+/,
))
Expand Down

0 comments on commit 05a0d19

Please sign in to comment.