Verificar se o campo telefone existe na base de dados

Boa tarde a todos.
Pesquisei aqui o forum atrás de uma informação, mas não encontrei.
Como eu faço para consultar o campo telefone no banco de dados sem o usuário estar logado e se o telefone existir na base encaminhar o usuário para a tela de login.

Obrigado pela atenção e disponibilidade em ajudar.

Hey there @laureano.souza,

I’m not sure how your database is structured, but you can do something like this:

When: Do a search for phone numbers (Add constraints: phone number = This input): count > 0 then redirect to the login page.

@johnny thanks man,
I can do this right from the button flow. If so, how to do it because this option does not appear.

Hey @laureano.souza,

You do it on the conditionals.

Thanks @johnny
I got it here

Glad I was of help! :blush:

This topic was automatically closed after 70 days. New replies are no longer allowed.