diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2012-06-12 09:33:55 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2012-06-12 09:33:55 -0700 |
commit | 5893cc9e24eafe3982a7b8c467845b6e99ece8bc (patch) | |
tree | 55eb6c49430e2b187154085ec60c6df6c8546d2d /samples/OpenIdRelyingPartyWebForms | |
parent | 57c22d9855e89cbd490c66c06027e253ae9470f5 (diff) | |
download | DotNetOpenAuth-5893cc9e24eafe3982a7b8c467845b6e99ece8bc.zip DotNetOpenAuth-5893cc9e24eafe3982a7b8c467845b6e99ece8bc.tar.gz DotNetOpenAuth-5893cc9e24eafe3982a7b8c467845b6e99ece8bc.tar.bz2 |
Fixed stylecop bugs.
Diffstat (limited to 'samples/OpenIdRelyingPartyWebForms')
-rw-r--r-- | samples/OpenIdRelyingPartyWebForms/login.aspx.cs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/samples/OpenIdRelyingPartyWebForms/login.aspx.cs b/samples/OpenIdRelyingPartyWebForms/login.aspx.cs index 9c7eb7a..3b5466c 100644 --- a/samples/OpenIdRelyingPartyWebForms/login.aspx.cs +++ b/samples/OpenIdRelyingPartyWebForms/login.aspx.cs @@ -50,11 +50,10 @@ namespace OpenIdRelyingPartyWebForms { foreach (string policy in policies) { pape.PreferredPolicies.Add(policy); } - } - if (maxAuthTimeBox.Text.Length > 0) { - pape.MaximumAuthenticationAge = TimeSpan.FromSeconds(double.Parse(maxAuthTimeBox.Text)); + if (this.maxAuthTimeBox.Text.Length > 0) { + pape.MaximumAuthenticationAge = TimeSpan.FromSeconds(double.Parse(this.maxAuthTimeBox.Text)); } if (pape.PreferredPolicies.Count > 0 || pape.MaximumAuthenticationAge.HasValue) { |