Reproducing code of #10385 again. case password and text