SEBWIN-608: Forgot to define two header values.
This commit is contained in:
parent
da458bcfb0
commit
6c31ce0833
2 changed files with 4 additions and 2 deletions
|
@ -17,6 +17,7 @@ using Newtonsoft.Json.Linq;
|
|||
using SafeExamBrowser.Logging.Contracts;
|
||||
using SafeExamBrowser.Server.Contracts.Data;
|
||||
using SafeExamBrowser.Server.Data;
|
||||
using SafeExamBrowser.Server.Requests;
|
||||
|
||||
namespace SafeExamBrowser.Server
|
||||
{
|
||||
|
@ -111,7 +112,7 @@ namespace SafeExamBrowser.Server
|
|||
|
||||
try
|
||||
{
|
||||
var hasHeader = response.Headers.TryGetValues("SEBExamSalt", out var values);
|
||||
var hasHeader = response.Headers.TryGetValues(Header.APP_SIGNATURE_KEY_SALT, out var values);
|
||||
|
||||
if (hasHeader)
|
||||
{
|
||||
|
@ -132,7 +133,7 @@ namespace SafeExamBrowser.Server
|
|||
|
||||
try
|
||||
{
|
||||
var hasHeader = response.Headers.TryGetValues("SEBConnectionToken", out var values);
|
||||
var hasHeader = response.Headers.TryGetValues(Header.CONNECTION_TOKEN, out var values);
|
||||
|
||||
if (hasHeader)
|
||||
{
|
||||
|
|
|
@ -11,6 +11,7 @@ namespace SafeExamBrowser.Server.Requests
|
|||
internal static class Header
|
||||
{
|
||||
internal const string ACCEPT = "Accept";
|
||||
internal const string APP_SIGNATURE_KEY_SALT = "SEBExamSalt";
|
||||
internal const string AUTHORIZATION = "Authorization";
|
||||
internal const string CONNECTION_TOKEN = "SEBConnectionToken";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue