Skip to content
This repository has been archived by the owner on Sep 18, 2021. It is now read-only.

Commit

Permalink
fix constant for GetSignInMessage
Browse files Browse the repository at this point in the history
  • Loading branch information
brockallen committed Jan 15, 2017
1 parent 8d48c77 commit 9b33d32
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions source/Core/Constants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -741,6 +741,7 @@ public static class OwinEnvironment

public static class Authentication
{
public const string SigninQueryParamName = "signin";
public const string SigninId = "signinid";
public const string SignoutId = "id";
public const string KatanaAuthenticationType = "katanaAuthenticationType";
Expand Down
2 changes: 1 addition & 1 deletion source/Core/Extensions/OwinEnvironmentExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ public static SignInMessage GetSignInMessage(this IDictionary<string, object> en
if (env == null) throw new ArgumentNullException("env");

var ctx = new OwinContext(env);
var id = ctx.Request.Query.Get(Constants.Authentication.SigninId);
var id = ctx.Request.Query.Get(Constants.Authentication.SigninQueryParamName);

if (String.IsNullOrWhiteSpace(id)) return null;

Expand Down

0 comments on commit 9b33d32

Please sign in to comment.