diff options
author | Shravya Ramesh <37447613+shravyaramesh@users.noreply.github.com> | 2020-10-07 23:06:32 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-08 02:06:32 -0400 |
commit | 45e435dbb4c43cb890eb360413784d0b2e331bc5 (patch) | |
tree | caa1df04c7b5fcc70ba2c48fa780a4cf2d8e5e0d /src/screens/onboarding/RegistrationTwo.tsx | |
parent | 0f332655d2b64700623f25912d2610517fb954b6 (diff) |
[TMA 68] Frontend Token Security (#43)
* frontend tma-68 token security
* removed: try catch while storing token to async, unnecessary console.log
* login/registration exception handling and relocation
* Modified promises, applied fetch restriction
Diffstat (limited to 'src/screens/onboarding/RegistrationTwo.tsx')
-rw-r--r-- | src/screens/onboarding/RegistrationTwo.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/screens/onboarding/RegistrationTwo.tsx b/src/screens/onboarding/RegistrationTwo.tsx index 0ce4f410..d28fb197 100644 --- a/src/screens/onboarding/RegistrationTwo.tsx +++ b/src/screens/onboarding/RegistrationTwo.tsx @@ -70,6 +70,7 @@ const RegistrationTwo: React.FC<RegistrationTwoProps> = ({ isValidFname: false, isValidLname: false, attemptedSubmit: false, + token: '', }); /* |