Created attachment 119643 Refactoring to use send_to_helper
I have refactored the code to make use of send_to_helper instead of duplicating the code.
I've chosen to apply it on top of the previous change to keep 2 different actions (escaping PAM_TEXT_INFO and refactoring) on the same step.
I have done sanity testing to make sure everything works as expected.
Created attachment 119643
Refactoring to use send_to_helper
I have refactored the code to make use of send_to_helper instead of duplicating the code.
I've chosen to apply it on top of the previous change to keep 2 different actions (escaping PAM_TEXT_INFO and refactoring) on the same step.
I have done sanity testing to make sure everything works as expected.