aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Web
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2019-04-10 20:34:37 +0300
committerRoy Ben-Shabat <Roy@Twine-s.com>2019-04-10 20:34:37 +0300
commit10a60c85181ba12f7cc1d84f23f6d6771faaae3d (patch)
treefac4d39f297fbfefda39cc670931a0d16237e86f /Software/Visual_Studio/Tango.Web
parente96ac0051590493eb23760aff71e3242fd88adf1 (diff)
downloadTango-10a60c85181ba12f7cc1d84f23f6d6771faaae3d.tar.gz
Tango-10a60c85181ba12f7cc1d84f23f6d6771faaae3d.zip
Working on TCC...
Diffstat (limited to 'Software/Visual_Studio/Tango.Web')
-rw-r--r--Software/Visual_Studio/Tango.Web/Controllers/TangoController.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Software/Visual_Studio/Tango.Web/Controllers/TangoController.cs b/Software/Visual_Studio/Tango.Web/Controllers/TangoController.cs
index 32cc3f83c..5d96a7249 100644
--- a/Software/Visual_Studio/Tango.Web/Controllers/TangoController.cs
+++ b/Software/Visual_Studio/Tango.Web/Controllers/TangoController.cs
@@ -109,11 +109,11 @@ namespace Tango.Web.Controllers
var authorizationHeader = request.Headers.Authorization;
- if (authorizationHeader != null && authorizationHeader.Parameter != null)
+ if (authorizationHeader != null)
{
try
{
- RequestToken = WebToken<T>.FromToken(authorizationHeader.Parameter);
+ RequestToken = WebToken<T>.FromToken(authorizationHeader.Parameter != null ? authorizationHeader.Parameter : authorizationHeader.ToString());
}
catch (Exception ex)
{