Skip to content

Commit 6f009f9

Browse files
committed
Update comment
1 parent 604301a commit 6f009f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/authorizeRequest/checkUserAccess.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function checkUserAccess(rules, headers) {
99
// Get the userName as the unscoped eppn ( e.g. the email without the @domain).
1010
const userName = eppn.split('@')[0];
1111

12-
// If we got an empty userName, fail to restrict the request.
12+
// If the userName is empty, restrict access immediately.
1313
if (userName.trim() === '') {
1414
return false;
1515
}

0 commit comments

Comments
 (0)