Update x invio email auth
This commit is contained in:
Vendored
+1
-1
@@ -17,7 +17,7 @@ pipeline {
|
||||
|
||||
/* calcolo numero versione... diverso x branch MASTER/DEVELOP */
|
||||
script {
|
||||
withEnv(['NEXT_BUILD_NUMBER=72']) {
|
||||
withEnv(['NEXT_BUILD_NUMBER=74']) {
|
||||
// env.versionNumber = VersionNumber(versionNumberString : '0.9.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true)
|
||||
env.versionNumber = VersionNumber(versionNumberString : '0.9.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}')
|
||||
env.APP_NAME = 'SOSCONDOMINI'
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
|
||||
<appSettings>
|
||||
<add key="SiteName" value="seriate.steamware.net:8083/B2BC/" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
<add key="baseUrl" value="http://seriate.steamware.net:8083/B2BC/" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
</appSettings>
|
||||
<connectionStrings>
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
|
||||
<appSettings>
|
||||
<add key="SiteName" value="seriate.steamware.net:8083/B2BC/" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
<add key="baseUrl" value="http://seriate.steamware.net:8083/B2BC/" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
|
||||
</appSettings>
|
||||
<connectionStrings>
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
<add key="CodModulo" value="B2BC" />
|
||||
<add key="AutoAuth" value="true" />
|
||||
<add key="baseUrl" value="http://iis02/B2BC" />
|
||||
<add key="SiteName" value="iis02/B2BC" />
|
||||
<!--gestione log-->
|
||||
<add key="_logDir" value="~/logs/" />
|
||||
<add key="_logLevel" value="7" />
|
||||
|
||||
@@ -90,9 +90,11 @@ namespace PUB.WebUserControls
|
||||
{ }
|
||||
if (USER_NAME != "" && AuthKey != "")
|
||||
{
|
||||
string siteName = memLayer.ML.CRS("SiteName");
|
||||
string body = "Salve,<br/><br/>Questo è un messaggio automatico generato da {3} a nome dell'amministratore della piattaforma.<br/><br/><a href=\"{0}/jumper?UserAuthkey={1}&USER_NAME={2}\">Prego cliccare sul seguente link (oppure copiare lo stesso ed incollarlo sul browser preferito)</a> per abilitare l'accesso a {3}.<br/><br/>Cordialmente.";
|
||||
string subject = string.Format("Autorizzazione accesso a {0}", siteName);
|
||||
// invio email!
|
||||
devicesAuthProxy.stObj.sendEmailAuthKey(USER_NAME, AuthKey, "www.b2bcondomini.it", body);
|
||||
devicesAuthProxy.stObj.sendEmailAuthKey(USER_NAME, AuthKey, siteName, subject, body);
|
||||
}
|
||||
break;
|
||||
case "Edit":
|
||||
|
||||
Reference in New Issue
Block a user