How to do auto login

I created a login and registration system with Firebase Authentication. Later, I tried to make the logging in automatically the next time he opened the application, but I could not succeed.

The method I tried: After logging in for the first time, I saved the datas as email, password and signedin = True with Tiny DB and checked it with Screen1.initialize. However, I failed.

How can I do that?

Here already have a block

IMG_20210815_132234

It’s not secure. Hacker can get user id and password

I’m talking about automatic login. And I’m using local database.

Can you show how do you checking it in screen initi?, Post screenshot of your blocks

Show us your blocks

@Still-learning @dora_paz


Try this :point_down:

blocks (2)

1 Like

but how will it work? it’s a string, not boolean

Did you tried this ?

not yet, i will

1 Like

Please have a try

1 Like

thank you, it worked. I just saw it too. making such a mistake wasted our time

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.