completato update versione ADMIN...
This commit is contained in:
@@ -23,7 +23,7 @@ namespace MoonPro_site.WebUserControls
|
||||
private void checkAuth()
|
||||
{
|
||||
// se in session è auth alora mostro pannello caricamento..
|
||||
if (Convert.ToBoolean(Session["isAuthKanban"]))
|
||||
if (Convert.ToBoolean(Session["isAuthUpdForced"]))
|
||||
{
|
||||
pnlUpload.Visible = true;
|
||||
pnlPasswd.Visible = false;
|
||||
@@ -73,16 +73,16 @@ namespace MoonPro_site.WebUserControls
|
||||
}
|
||||
protected void txtPwd_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
string _pwdOk = ConfigurationManager.AppSettings.Get("_pdwUpdateKanban");
|
||||
string _pwdOk = ConfigurationManager.AppSettings.Get("_pdwUpdateForzato");
|
||||
// verifico la password ed eventualmente mostro pannello caricamento..
|
||||
if (txtPwd.Text != "" && txtPwd.Text == _pwdOk)
|
||||
{
|
||||
Session["isAuthKanban"] = true;
|
||||
Session["isAuthUpdForced"] = true;
|
||||
checkAuth();
|
||||
}
|
||||
else
|
||||
{
|
||||
Session["isAuthKanban"] = false;
|
||||
Session["isAuthUpdForced"] = false;
|
||||
checkAuth();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user