Fix loggin bug when updating alternative email