Prevent duplicate users while sign up a user

It seems that signup only when the condition is true doesn’t work
image
I’m using this to prevent duplicate usernames.
Any idea why it keeps signin the users with the duplicate usernames ?

Privacy rules are stopping you from finding other users.

The easy solution is to remove privacy rules (that’s not the right solution as it makes all user data public). The right solution is to create a backend workflow that bypasses privacy rules, returns a yes/no for ‘is there an identical user’ and call it from the front end.

you can actually track your users by email(most websites does that) and if by chance the email is registered, user registration will be denied.
create a workflow at the backend that search through registered emails.

Ola, @rafa.s.sousa99 ! Sua condicinal só está verificando se a base de dados do usuario com o contador em zero. fiz um teste em branco e a principio esta mostrando que a pessoa que esta cadastrada ira aparecer uma mensagem, e para quem nao estiver nao aparecerá. Segue o workflow, pra ver se te ajuda em algo, nao usei backend. e tem a condicional para aparecer o texto se o usuario existe, caso nao tenha o texto nao aparecera. veja se te ajuda em algo, Obrigado.


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