Skip to content

Commit

Permalink
Decensor username entry
Browse files Browse the repository at this point in the history
having this censored vs passwords being censored can cause confusion and result in you making an account with your pass as your username
  • Loading branch information
poco0317 committed Dec 2, 2018
1 parent b16c1d3 commit cbda3e4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/ScreenSMOnlineLogin.cpp
Expand Up @@ -158,10 +158,10 @@ ScreenSMOnlineLogin::HandleScreenMessage(const ScreenMessage SM)
NULL);
} else {
sLoginQuestion = "Enter username";
ScreenTextEntry::Password(SM_UsernameDone,
ScreenTextEntry::TextEntry(SM_UsernameDone,
NSMAN->loginResponse + "\n\n" +
sLoginQuestion,
NULL);
"", 255);
}
}
} else if (SM == SM_GoToNextScreen) {
Expand Down Expand Up @@ -197,10 +197,10 @@ ScreenSMOnlineLogin::HandleScreenMessage(const ScreenMessage SM)
SM_PasswordDone, sLoginQuestion, NULL);
} else {
sLoginQuestion = "Enter username";
ScreenTextEntry::Password(SM_UsernameDone,
ScreenTextEntry::TextEntry(SM_UsernameDone,
NSMAN->loginResponse + "\n\n" +
sLoginQuestion,
NULL);
"", 255);
}
}
return;
Expand Down

0 comments on commit cbda3e4

Please sign in to comment.