Aggiunto log procedura login (da testare...)

This commit is contained in:
Samuele E. Locatelli
2018-12-03 11:06:14 +01:00
parent 8f782f3a2c
commit 568fb39c42
@@ -15,6 +15,7 @@ namespace C_TRACK.WebUserControls
/// </summary>
public void tryAutoEnroll()
{
logger.lg.scriviLog("Inizio tryAutoEnroll", tipoLog.STARTUP);
// recupero dati da session
string UserAuthKey = "";
string email = "";
@@ -51,10 +52,12 @@ namespace C_TRACK.WebUserControls
}
if (fatto)
{
logger.lg.scriviLog("Completato tryAutoEnroll con SUCCESSO, rimando a Login", tipoLog.STARTUP);
Response.Redirect("Login");
}
else
{
logger.lg.scriviLog("Completato tryAutoEnroll senza riconoscimento valori link, rimando a UserAdmin", tipoLog.STARTUP);
Response.Redirect("UserAdmin");
}
}