Quellcode durchsuchen

Added manual specification of machine key to prevent reset of credentials

tags/2.0.6
Teknikode vor 4 Jahren
Ursprung
Commit
dc576fed0d
3 geänderte Dateien mit 5 neuen und 0 gelöschten Zeilen
  1. 1
    0
      .gitignore
  2. 1
    0
      Teknik/Teknik.csproj
  3. 3
    0
      Teknik/Web.config

+ 1
- 0
.gitignore Datei anzeigen

@@ -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 Datei anzeigen

@@ -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 Datei anzeigen

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

Laden…
Abbrechen
Speichern