diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2012-02-25 15:05:42 -0800 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2012-02-25 15:05:42 -0800 |
commit | 7da4839c2a16e8b7c30e9545941a06853938ccee (patch) | |
tree | b66a754d8ddd7a4ac229d68e3d14e14d854ef2f9 /src | |
parent | cd8ea7c791ba9d4278884792a89f2bac0b7a86b4 (diff) | |
download | DotNetOpenAuth-7da4839c2a16e8b7c30e9545941a06853938ccee.zip DotNetOpenAuth-7da4839c2a16e8b7c30e9545941a06853938ccee.tar.gz DotNetOpenAuth-7da4839c2a16e8b7c30e9545941a06853938ccee.tar.bz2 |
StyleCop fix.
Diffstat (limited to 'src')
-rw-r--r-- | src/DotNetOpenAuth.OAuth2/OAuth2/ChannelElements/AccessRequestBindingElement.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/DotNetOpenAuth.OAuth2/OAuth2/ChannelElements/AccessRequestBindingElement.cs b/src/DotNetOpenAuth.OAuth2/OAuth2/ChannelElements/AccessRequestBindingElement.cs index 67a69fd..f3c99b0 100644 --- a/src/DotNetOpenAuth.OAuth2/OAuth2/ChannelElements/AccessRequestBindingElement.cs +++ b/src/DotNetOpenAuth.OAuth2/OAuth2/ChannelElements/AccessRequestBindingElement.cs @@ -126,8 +126,7 @@ namespace DotNetOpenAuth.OAuth2.ChannelElements { refreshTokenCarrier.AuthorizationDescription = refreshToken; } else if (resourceOwnerPasswordCarrier != null) { try { - if (this.AuthorizationServer.IsResourceOwnerCredentialValid(resourceOwnerPasswordCarrier.UserName, - resourceOwnerPasswordCarrier.Password)) { + if (this.AuthorizationServer.IsResourceOwnerCredentialValid(resourceOwnerPasswordCarrier.UserName, resourceOwnerPasswordCarrier.Password)) { resourceOwnerPasswordCarrier.CredentialsValidated = true; } else { Logger.OAuth.WarnFormat( |