IDEMPIERE-375 Implement Forgot my Password - fix NPE
This commit is contained in:
parent
951765ccd0
commit
4403c3bb68
|
@ -284,7 +284,7 @@ public class ResetPasswordPanel extends Window implements EventListener<Event>
|
||||||
{
|
{
|
||||||
if (event.getTarget().getId().equals(ConfirmPanel.A_OK))
|
if (event.getTarget().getId().equals(ConfirmPanel.A_OK))
|
||||||
{
|
{
|
||||||
if (txtAnswer.isReadonly())
|
if (txtAnswer != null && txtAnswer.isReadonly())
|
||||||
validateEmail();
|
validateEmail();
|
||||||
else
|
else
|
||||||
validateResetPassword();
|
validateResetPassword();
|
||||||
|
|
Loading…
Reference in New Issue