We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cb59313 + 20c6193 commit 5d351b0Copy full SHA for 5d351b0
app/routes/profile.js
@@ -51,8 +51,16 @@ function ProfileHandler(db) {
51
var testComplyWithRequirements = regexPattern.test(bankRouting);
52
// if the regex test fails we do not allow saving
53
if (testComplyWithRequirements !== true) {
54
+ const firstNameSafeString = firstName
55
return res.render("profile", {
- updateError: "Bank Routing number does not comply with requirements for format specified"
56
+ updateError: "Bank Routing number does not comply with requirements for format specified",
57
+ firstNameSafeString,
58
+ lastName,
59
+ ssn,
60
+ dob,
61
+ address,
62
+ bankAcc,
63
+ bankRouting
64
});
65
}
66
0 commit comments