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:
parent
a363a4445d
commit
0055dc9395
@ -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))
|
||||
|
@ -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" />
|
||||
|
Loading…
Reference in New Issue
Block a user