fixed misleading error message

pull/650/head
Justin Richer 2013-09-10 13:46:49 -04:00
parent b4783e753f
commit deb6c9210e
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ AuthenticationProvider {
} else {
if (!Strings.isNullOrEmpty(userInfo.getSub()) && !userInfo.getSub().equals(token.getSub())) {
// the userinfo came back and the user_id fields don't match what was in the id_token
throw new UsernameNotFoundException("user_id mismatch between id_token and user_info call: " + userInfo.getSub() + " / " + token.getSub());
throw new UsernameNotFoundException("user_id mismatch between id_token and user_info call: " + token.getSub() + " / " + userInfo.getSub());
}
}