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:
parent
8d7ed2fe43
commit
dc576fed0d
1
.gitignore
vendored
1
.gitignore
vendored
@ -195,3 +195,4 @@ ModelManifest.xml
|
|||||||
/Teknik/Properties/PublishProfiles/IIS.pubxml
|
/Teknik/Properties/PublishProfiles/IIS.pubxml
|
||||||
/Teknik/App_Data/ConnectionStrings.config
|
/Teknik/App_Data/ConnectionStrings.config
|
||||||
/Teknik/App_Data/Config.json.old
|
/Teknik/App_Data/Config.json.old
|
||||||
|
/Teknik/App_Data/MachineKey.config
|
||||||
|
@ -587,6 +587,7 @@
|
|||||||
<Content Include="Areas\Admin\Views\Admin\SearchResult.cshtml" />
|
<Content Include="Areas\Admin\Views\Admin\SearchResult.cshtml" />
|
||||||
<Content Include="Areas\Admin\Views\Admin\SearchResults.cshtml" />
|
<Content Include="Areas\Admin\Views\Admin\SearchResults.cshtml" />
|
||||||
<Content Include="Areas\Admin\Views\_ViewStart.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 Dev.pubxml" />
|
||||||
<None Include="Properties\PublishProfiles\Teknik Production.pubxml" />
|
<None Include="Properties\PublishProfiles\Teknik Production.pubxml" />
|
||||||
<None Include="Scripts\jquery-2.1.4.intellisense.js" />
|
<None Include="Scripts\jquery-2.1.4.intellisense.js" />
|
||||||
|
@ -31,6 +31,9 @@
|
|||||||
</system.Web>
|
</system.Web>
|
||||||
-->
|
-->
|
||||||
<system.web>
|
<system.web>
|
||||||
|
<machineKey configSource="App_Data\MachineKey.config" />
|
||||||
|
<!-- Create MachineKey.config and add your machine keys-->
|
||||||
|
|
||||||
<httpCookies httpOnlyCookies="true" requireSSL="true" />
|
<httpCookies httpOnlyCookies="true" requireSSL="true" />
|
||||||
<customErrors mode="Off" />
|
<customErrors mode="Off" />
|
||||||
<authentication mode="Forms">
|
<authentication mode="Forms">
|
||||||
|
Loading…
Reference in New Issue
Block a user