Skip to content

Commit

Permalink
Update sprout.js
Browse files Browse the repository at this point in the history
  • Loading branch information
camillereaves authored Sep 23, 2023
1 parent dea8146 commit 4a204f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/sprout.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ document.getElementById("login_form").addEventListener("submit", async function
return true;
});

function generateUsername(userNameExists, firstName, lastName, month, day, year){
async function generateUsername(userNameExists, firstName, lastName, month, day, year){
let username = "TBD";
let userCheck = await testUserName(firstName.slice(0,1).toLowerCase() + lastName.toLowerCase() + month + year);
let userCount = 0;
Expand Down

0 comments on commit 4a204f8

Please sign in to comment.