Afrikaans
Akan
Albanian
Amharic
Armenian
Azerbaijani
Basque
Belarusian
Bemba
Bengali
Bihari
Bosnian
Breton
Bulgarian
Cambodian
Catalan
Cebuano
Cherokee
Chichewa
Chinese (Simplified)
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
Dutch
English
Esperanto
Estonian
Ewe
Faroese
Filipino
Finnish
French
Frisian
Ga
Galician
Georgian
German
Greek
Guarani
Gujarati
Haitian Creole
Hausa
Hawaiian
Hebrew
Hindi
Hmong
Hungarian
Icelandic
Igbo
Indonesian
Interlingua
Irish
Italian
Japanese
Javanese
Kannada
Kazakh
Kinyarwanda
Kirundi
Kongo
Korean
Krio (Sierra Leone)
Kurdish
Kurdish (Soranî)
Kyrgyz
Laothian
Latin
Latvian
Lingala
Lithuanian
Lozi
Luganda
Luo
Luxembourgish
Macedonian
Malagasy
Malay
Malayalam
Maltese
Maori
Marathi
Mauritian Creole
Moldavian
Mongolian
Myanmar (Burmese)
Montenegrin
Nepali
Nigerian Pidgin
Northern Sotho
Norwegian
Norwegian (Nynorsk)
Occitan
Oriya
Oromo
Pashto
Persian
Polish
Portuguese (Brazil)
Portuguese (Portugal)
Punjabi
Quechua
Romanian
Romansh
Runyakitara
Russian
Samoan
Scots Gaelic
Serbian
Serbo-Croatian
Sesotho
Setswana
Seychellois Creole
Shona
Sindhi
Sinhalese
Slovak
Slovenian
Somali
Spanish
Spanish (Latin American)
Sundanese
Swahili
Swedish
Tajik
Tamil
Tatar
Telugu
Thai
Tigrinya
Tonga
Tshiluba
Tumbuka
Turkish
Turkmen
Twi
Uighur
Ukrainian
Urdu
Uzbek
Vietnamese
Welsh
Wolof
Xhosa
Yiddish
Yoruba
Zulu
Now, let's finish implementing the handle submit method in our sign up component.
Now, what we're going to do in handle's summit will be very similar to what we just did in sign up
in our sign up component, we called off create user with email and password passing in email and password
and sign.
And we'll have a very similar method on the auth library that is called Sign In with email and password.
So let's import off from our Firebase Utils.
And now inside of our Handal summit, we have to convert this to an async method and structure off the
email and password.
Off our state and then in our tri block, we are going to a wait for off dot sign in with email and
password passing in the email and the password.
And then if that succeeds, we will clear our state.
And then we'll have our catch with our ER, where we will consult, log the ER if it fails.
Now, let's see our component.
So we are still logging any state changes.
And we need to sign out first.
And let's try and now sign in with our accounts, so we had Michael at Gmail dot com with our password
being.
One to well, what's going on with our pass right here?
Oh, no, it looks like our sign up component has the wrong code or sorry, our sign and component,
we might actually be passing in the wrong value here.
Yes, we are.
OK, we have to fix this value so that it's state dot password.
Sometimes accidents happen.
So now let's check again.
OK, now it seems to be working normally, so let's reset these values, because Michael at Gmail dot
com and password, if we remember, was one, two, three, four, one, two, three, four.
Now, if we sign in.
We see that our user has been updated with our user that was just signed up inside of our database,
we can double check and make sure that this ID matches.
So AT&T F.J. is awesome.
So we know that everything is synched up and properly working.
Now, let's remove that console log here because we won't need it anymore.
And let's just commit this code, because now we finished our sign in and sign up component.
So get add.
Get commit finishing sign in handle submit method.
And then let's get push origin master.
OK.
Let's continue.
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.