it is impossible to send to the view whether the user typed in the wrong credentials (i.e. got their password wrong) or that they are not included in the database. It seems to me that we would want to pass that information onto the user through the flash[:error] so that they know whether to retry their credentials or contact the system admin for inclusion in the user's table.
Given the circumstance:
it is impossible to send to the view whether the user typed in the wrong credentials (i.e. got their password wrong) or that they are not included in the database. It seems to me that we would want to pass that information onto the user through the flash[:error] so that they know whether to retry their credentials or contact the system admin for inclusion in the user's table.