summaryrefslogtreecommitdiffstats
path: root/samples/OAuthServiceProvider/App_Code
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2009-06-09 08:23:15 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2009-06-09 08:23:15 -0700
commita5c44dbeaefe5872dc92be1d940a65cb56c0a70f (patch)
tree69e9fe613ed4a9336c4302795cc882ac9a98416c /samples/OAuthServiceProvider/App_Code
parente6f0ca7a075d345b8da6871c42c0947f55e0867f (diff)
downloadDotNetOpenAuth-a5c44dbeaefe5872dc92be1d940a65cb56c0a70f.zip
DotNetOpenAuth-a5c44dbeaefe5872dc92be1d940a65cb56c0a70f.tar.gz
DotNetOpenAuth-a5c44dbeaefe5872dc92be1d940a65cb56c0a70f.tar.bz2
Fixed a couple of small bugs.
Diffstat (limited to 'samples/OAuthServiceProvider/App_Code')
-rw-r--r--samples/OAuthServiceProvider/App_Code/OAuthConsumer.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/OAuthServiceProvider/App_Code/OAuthConsumer.cs b/samples/OAuthServiceProvider/App_Code/OAuthConsumer.cs
index 2de1e85..1255717 100644
--- a/samples/OAuthServiceProvider/App_Code/OAuthConsumer.cs
+++ b/samples/OAuthServiceProvider/App_Code/OAuthConsumer.cs
@@ -26,7 +26,7 @@ public partial class OAuthConsumer : IConsumerDescription {
}
Uri IConsumerDescription.Callback {
- get { return new Uri(this.Callback); }
+ get { return this.Callback != null ? new Uri(this.Callback) : null; }
}
DotNetOpenAuth.OAuth.VerificationCodeFormat IConsumerDescription.VerificationCodeFormat {