Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

138
Views
Firebase authentication register problem?

I am try to my best register on firebase authentication but I am facing some problems.

I am try to like this code but it's not working.

const hadleToLogin = async event => {
    event.preventDefault();
    let email = event.target.email.value
    const password = event.target.password.value
    console.log(email, password)
    await signInWithEmailAndPassword(email, password);



    if (user) {
        navigate('/home');
    }

}

const navigateRegister = () => {
    navigate('/register')
}
const resetPassword = async () => {
    const email = emailRef.current.value;
    if (email) {
        await sendPasswordResetEmail(email);
        toast('sent email');
    }
    else{
        toast('enter a valid email')
    }
}
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!