1
0
mirror of https://git.teknik.io/Teknikode/Teknik.git synced 2023-08-02 14:16:22 +02:00

Added manual specification of machine key to prevent reset of credentials

This commit is contained in:
Uncled1023 2016-10-27 00:29:49 -07:00
parent 8d7ed2fe43
commit dc576fed0d
3 changed files with 5 additions and 0 deletions

1
.gitignore vendored
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

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" />

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">