зеркало из https://github.com/mono/moma-tool.git
web.config: Insist on a validationKey in machineKey; allows passwordFormat="Hashed" in PgMembershipProvider. Also set requiresUniqueEmail="false". Also set new Npgsql version.
svn path=/trunk/moma-tool/; revision=119471
This commit is contained in:
Родитель
7ed5e2a05a
Коммит
28e876b836
|
@ -50,11 +50,11 @@
|
|||
<authentication mode="Forms">
|
||||
<forms name=".AspNetAuth" protection="All" defaultUrl="~/Overview.aspx" loginUrl="~/Login.aspx" timeout="30" path="/" requireSSL="false" slidingExpiration="true" enableCrossAppRedirects="false"/>
|
||||
</authentication>
|
||||
<machineKey validationKey="AutoGenerate,IsolateApps" decryptionKey="AutoGenerate,IsolateApps" validation="SHA1" decryption="Auto"/>
|
||||
<machineKey validationKey="XXXX" decryptionKey="AutoGenerate,IsolateApps" validation="SHA1" decryption="Auto"/>
|
||||
<membership defaultProvider="PgMembershipProvider">
|
||||
<providers>
|
||||
<clear/>
|
||||
<add name="PgMembershipProvider" type="NauckIT.PostgreSQLProvider.PgMembershipProvider" connectionStringName="AspSQLProvider" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="true" passwordFormat="Clear" applicationName="MoMAStudio"/>
|
||||
<add name="PgMembershipProvider" type="NauckIT.PostgreSQLProvider.PgMembershipProvider" connectionStringName="AspSQLProvider" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="true" passwordFormat="Hashed" applicationName="MoMAStudio" requiresUniqueEmail="false"/>
|
||||
</providers>
|
||||
</membership>
|
||||
<roleManager enabled="true" defaultProvider="PgRoleProvider" cacheRolesInCookie="true" cookieName=".AspNetRoles" cookiePath="/" cookieProtection="All" cookieRequireSSL="false" cookieSlidingExpiration="true" createPersistentCookie="false" cookieTimeout="30" maxCachedResults="25">
|
||||
|
@ -161,7 +161,7 @@
|
|||
</system.net>
|
||||
<system.data>
|
||||
<DbProviderFactories>
|
||||
<add name="Npgsql Data Provider" invariant="Npgsql" support="FF" description=".Net Framework Data Provider for Postgresql Server" type="Npgsql.NpgsqlFactory, Npgsql, Version=1.99.1.0, Culture=neutral, PublicKeyToken=5d8b90d52f46fda7" />
|
||||
<add name="Npgsql Data Provider" invariant="Npgsql" support="FF" description=".Net Framework Data Provider for Postgresql Server" type="Npgsql.NpgsqlFactory, Npgsql, Version=2.0.1.0, Culture=neutral, PublicKeyToken=5d8b90d52f46fda7" />
|
||||
</DbProviderFactories>
|
||||
</system.data>
|
||||
</configuration>
|
||||
|
|
Загрузка…
Ссылка в новой задаче