Skip to content

Commit 31195f0

Browse files
committed
Fix a nit in the plugin-rest oauth.doc
1 parent 759de5c commit 31195f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin-rest/docs/src/docs/oauth.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ OauthUser loadUserByUserProfile(OAuth20Profile userProfile, Collection<GrantedAu
121121
if (userProfile.email.endsWith('example.org')) {
122122
return new OauthUser(userProfile.id, 'N/A', defaultRoles, userProfile)
123123
} else {
124-
throw new UsernameNotFoundException("User with email ${userProfile.email} now allowed. Only `example.org accounts are allowed.")
124+
throw new UsernameNotFoundException("User with email ${userProfile.email} is not allowed. Only `example.org` accounts are allowed.")
125125
}
126126
}
127127
----

0 commit comments

Comments
 (0)