Aggiunto log procedura login (da testare...)
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user