Fix URL e parametri CONF x url redirect auth
This commit is contained in:
@@ -186,7 +186,7 @@ namespace MP.Controllers
|
||||
{
|
||||
ViewBag.Title = "MP";
|
||||
ViewBag.Message = "Elenco Utenti";
|
||||
ViewBag.BaseUrl = "http://iis02/MP/TAB/jumper";
|
||||
ViewBag.BaseUrl = WebConfigurationManager.AppSettings["baseAuthUrl"];
|
||||
ViewBag.Environment = WebConfigurationManager.AppSettings["Environment"];
|
||||
using (var ctx = new MoonProEntities())
|
||||
{
|
||||
@@ -214,7 +214,7 @@ namespace MP.Controllers
|
||||
CharacterSet = "UTF-8",
|
||||
Width = 600,
|
||||
Height = 600,
|
||||
Margin = 0
|
||||
Margin = 0
|
||||
};
|
||||
var writer = new BarcodeWriter();
|
||||
writer.Format = BarcodeFormat.QR_CODE;
|
||||
@@ -226,7 +226,7 @@ namespace MP.Controllers
|
||||
MemoryStream ms = new MemoryStream();
|
||||
pixelData.Save(ms, ImageFormat.Png);
|
||||
ms.Position = 0;
|
||||
return new FileStreamResult(ms, "image/png");
|
||||
return new FileStreamResult(ms, "image/png");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user