BeWoMobileClient Globale Einstellung ergänzt
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
<IISExpressAnonymousAuthentication />
|
||||
<IISExpressWindowsAuthentication />
|
||||
<IISExpressUseClassicPipelineMode />
|
||||
<UseGlobalApplicationHostFile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<UseIISExpress>true</UseIISExpress>
|
||||
</PropertyGroup>
|
||||
<ProjectExtensions>
|
||||
<VisualStudio>
|
||||
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
using System.Web.Mvc;
|
||||
using System;
|
||||
using System.Web;
|
||||
using System.Web.Mvc;
|
||||
using System.Web.Security;
|
||||
using System.Web.UI;
|
||||
using BeWo.Service.ServiceContracts;
|
||||
|
||||
using BeWoPlanerMobil.Service;
|
||||
@@ -22,7 +25,8 @@ namespace BeWoPlanerMobil.Controllers
|
||||
{
|
||||
MobileSessionFacade.LogUserOut();
|
||||
FormsAuthentication.SignOut();
|
||||
return RedirectToActionPermanent("Index", "Login", new {tenant = MobileSessionFacade.Tenant});
|
||||
|
||||
return RedirectToActionPermanent("Index", "Login", new {tenant = MobileSessionFacade.Tenant});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -142,7 +142,7 @@ namespace BeWoPlanerMobil.Controllers
|
||||
|
||||
[HttpPost]
|
||||
public new ActionResult Logout()
|
||||
{
|
||||
{
|
||||
return base.Logout();
|
||||
}
|
||||
|
||||
|
||||
@@ -1,8 +1,11 @@
|
||||
using System.Web.Http;
|
||||
using System;
|
||||
using System.Web;
|
||||
using System.Web.Http;
|
||||
using System.Web.Mvc;
|
||||
using System.Web.Optimization;
|
||||
using System.Web.Routing;
|
||||
|
||||
|
||||
namespace BeWoPlanerMobil
|
||||
{
|
||||
// Note: For instructions on enabling IIS6 or IIS7 classic mode,
|
||||
@@ -18,6 +21,16 @@ namespace BeWoPlanerMobil
|
||||
FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
|
||||
RouteConfig.RegisterRoutes(RouteTable.Routes);
|
||||
BundleConfig.RegisterBundles(BundleTable.Bundles);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
protected void Application_BeginRequest(object sender, EventArgs e)
|
||||
{
|
||||
Context.Response.Cache.SetExpires(DateTime.UtcNow.AddDays(-1));
|
||||
Context.Response.Cache.SetAllowResponseInBrowserHistory(false);
|
||||
Context.Response.Cache.SetRevalidation(HttpCacheRevalidation.AllCaches);
|
||||
Context.Response.Cache.SetCacheability(HttpCacheability.NoCache);
|
||||
Context.Response.Cache.SetNoStore();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -4,10 +4,12 @@
|
||||
@{
|
||||
ViewBag.Title = "Login";
|
||||
|
||||
var usernameDef = String.Empty;
|
||||
var pwDef = String.Empty;
|
||||
var usernameDef = String.Empty;
|
||||
var pwDef = String.Empty;
|
||||
|
||||
}
|
||||
|
||||
|
||||
<img src="~/Content/images/bewoplaner_logo_big.png" alt="BeWoPlanerMobil" class="centerImg"/>
|
||||
|
||||
<div class="margin-div">
|
||||
@@ -40,5 +42,8 @@
|
||||
</div>
|
||||
|
||||
<script>
|
||||
loadGoalsUrl = '';
|
||||
</script>
|
||||
loadGoalsUrl = '';
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
@model MainModel
|
||||
@{
|
||||
ViewBag.Title = "Main";
|
||||
|
||||
}
|
||||
|
||||
<div class="header-div">
|
||||
@@ -851,7 +852,7 @@
|
||||
CheckEndDateUrl = '@Url.Action("CheckEndDate")';
|
||||
CheckDokuReiterUrl = '@Url.Action("CheckDokuReiter")';
|
||||
SetSaveSignatureUrl = '@Url.Action("SetSaveSignature")';
|
||||
|
||||
|
||||
|
||||
$(".toggle-btn").click(function () {
|
||||
toggleOnclick(this);
|
||||
|
||||
@@ -51,7 +51,8 @@
|
||||
</handlers>
|
||||
<directoryBrowse enabled="true" />
|
||||
</system.webServer>
|
||||
|
||||
|
||||
|
||||
<system.serviceModel>
|
||||
<behaviors>
|
||||
<endpointBehaviors>
|
||||
@@ -150,9 +151,11 @@
|
||||
</namespaces>
|
||||
</pages>
|
||||
|
||||
|
||||
<authentication mode="Forms">
|
||||
<forms loginUrl="~/Login" />
|
||||
<forms loginUrl="~/Login" />
|
||||
</authentication>
|
||||
|
||||
</system.web>
|
||||
|
||||
<runtime>
|
||||
|
||||
Reference in New Issue
Block a user