We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 604301a commit 6f009f9Copy full SHA for 6f009f9
src/authorizeRequest/checkUserAccess.js
@@ -9,7 +9,7 @@ function checkUserAccess(rules, headers) {
9
// Get the userName as the unscoped eppn ( e.g. the email without the @domain).
10
const userName = eppn.split('@')[0];
11
12
- // If we got an empty userName, fail to restrict the request.
+ // If the userName is empty, restrict access immediately.
13
if (userName.trim() === '') {
14
return false;
15
}
0 commit comments