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

Still not working...

This commit is contained in:
Uncled1023 2016-02-02 16:50:54 -08:00
parent a363a4445d
commit 0055dc9395
2 changed files with 2 additions and 1 deletions

View File

@ -140,6 +140,7 @@ namespace Teknik.Areas.Profile.Controllers
HttpCookie authcookie = FormsAuthentication.GetAuthCookie(model.Username, model.RememberMe);
authcookie.Name = ".TeknikAuth";
authcookie.Domain = Config.Host;
authcookie.Secure = true;
Response.AppendCookie(authcookie);
if (string.IsNullOrEmpty(model.ReturnUrl))

View File

@ -19,7 +19,7 @@
<system.web>
<customErrors mode="Off" />
<authentication mode="Forms">
<forms domain=".teknik.io" loginUrl="~/Areas/Profile/Views/Profile/ViewLogin" path="*/*" timeout="2880" name=".TeknikAuth" />
<forms domain=".teknik.io" path="/" timeout="2880" requireSSL="true" enableCrossAppRedirects="true" name=".TeknikAuth" />
</authentication>
<compilation debug="true" targetFramework="4.5.2" />
<httpRuntime targetFramework="4.5.2" maxRequestLength="1048576" />