Browse Source

Added manual specification of machine key to prevent reset of credentials

tags/2.0.6
Teknikode 3 years ago
parent
commit
dc576fed0d
3 changed files with 5 additions and 0 deletions
  1. 1
    0
      .gitignore
  2. 1
    0
      Teknik/Teknik.csproj
  3. 3
    0
      Teknik/Web.config

+ 1
- 0
.gitignore View File

@@ -195,3 +195,4 @@ ModelManifest.xml
/Teknik/Properties/PublishProfiles/IIS.pubxml
/Teknik/App_Data/ConnectionStrings.config
/Teknik/App_Data/Config.json.old
/Teknik/App_Data/MachineKey.config

+ 1
- 0
Teknik/Teknik.csproj View File

@@ -587,6 +587,7 @@
<Content Include="Areas\Admin\Views\Admin\SearchResult.cshtml" />
<Content Include="Areas\Admin\Views\Admin\SearchResults.cshtml" />
<Content Include="Areas\Admin\Views\_ViewStart.cshtml" />
<Content Include="App_Data\MachineKey.config" />
<None Include="Properties\PublishProfiles\Teknik Dev.pubxml" />
<None Include="Properties\PublishProfiles\Teknik Production.pubxml" />
<None Include="Scripts\jquery-2.1.4.intellisense.js" />

+ 3
- 0
Teknik/Web.config View File

@@ -31,6 +31,9 @@
</system.Web>
-->
<system.web>
<machineKey configSource="App_Data\MachineKey.config" />
<!-- Create MachineKey.config and add your machine keys-->
<httpCookies httpOnlyCookies="true" requireSSL="true" />
<customErrors mode="Off" />
<authentication mode="Forms">

Loading…
Cancel
Save