diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-04-10 20:34:37 +0300 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-04-10 20:34:37 +0300 |
| commit | 10a60c85181ba12f7cc1d84f23f6d6771faaae3d (patch) | |
| tree | fac4d39f297fbfefda39cc670931a0d16237e86f /Software/Visual_Studio/Tango.Web/Controllers | |
| parent | e96ac0051590493eb23760aff71e3242fd88adf1 (diff) | |
| download | Tango-10a60c85181ba12f7cc1d84f23f6d6771faaae3d.tar.gz Tango-10a60c85181ba12f7cc1d84f23f6d6771faaae3d.zip | |
Working on TCC...
Diffstat (limited to 'Software/Visual_Studio/Tango.Web/Controllers')
| -rw-r--r-- | Software/Visual_Studio/Tango.Web/Controllers/TangoController.cs | 4 |
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) { |
