Version18.66.2

This commit is contained in:
Antonio Cañas Vargas 2019-03-06 14:31:21 +01:00
parent d0ed02378f
commit d7b9857647
2 changed files with 4 additions and 4 deletions

View File

@ -428,10 +428,11 @@ En OpenSWAD:
ps2pdf source.ps destination.pdf
*/
#define Log_PLATFORM_VERSION "SWAD 18.66.1 (2019-03-06)"
#define Log_PLATFORM_VERSION "SWAD 18.66.2 (2019-03-06)"
#define CSS_FILE "swad18.66.css"
#define JS_FILE "swad18.64.js"
/*
Version 18.66.2: Mar 06, 2019 Fixed bug while sending a new password, reported by Rosa María Cantarero López. (238672 lines)
Version 18.66.1: Mar 06, 2019 Changed order of figures in user's profile. (238671 lines)
Version 18.66: Mar 06, 2019 Number of social posts is added as a new column in users' ranking.
Only figures greater than 0 are shown in users' ranking. (238671 lines)

View File

@ -344,7 +344,7 @@ void Pwd_ChkIdLoginAndSendNewPwd (void)
/* Get user's data */
ListUsrCods.NumUsrs = 1;
Usr_AllocateListUsrCods (&ListUsrCods);
ListUsrCods.Lst[0] = Gbl.Usrs.Other.UsrDat.UsrCod;
ListUsrCods.Lst[0] = Gbl.Usrs.Me.UsrDat.UsrCod;
}
}
else if (Mai_CheckIfEmailIsValid (Gbl.Usrs.Me.UsrIdLogin)) // 2: It's an email
@ -354,7 +354,7 @@ void Pwd_ChkIdLoginAndSendNewPwd (void)
/* Get user's data */
ListUsrCods.NumUsrs = 1;
Usr_AllocateListUsrCods (&ListUsrCods);
ListUsrCods.Lst[0] = Gbl.Usrs.Other.UsrDat.UsrCod;
ListUsrCods.Lst[0] = Gbl.Usrs.Me.UsrDat.UsrCod;
}
}
else // 3: It's not a nickname nor email
@ -391,7 +391,6 @@ void Pwd_ChkIdLoginAndSendNewPwd (void)
{
case 0: // Message sent successfully
Pwd_SetMyPendingPassword (NewRandomPlainPassword);
Ale_ShowAlert (Ale_INFO,Txt_If_you_have_written_your_ID_nickname_or_email_correctly_);
break;
case 1:
Lay_ShowErrorAndExit (Txt_There_was_a_problem_sending_an_email_automatically);