Cannot Log In with a created user

  

Hi all,

Outsystems noob here! 

So i'm creating an app on my personal enviorment and I created an entity called "Players" which uses the System's UserId as Entity Identifier. If I create a new player that action also creates a new user. So far, so good. I can see the new user I just created in the service center as well. 

The problem is that when I try to LogIn with that user name and password it shows an error saying:"Invalid User name or Password". And I'm positive I'm using the correct user and pass!!!

If anyone can please help or suggest a smarter way to do this I'd appreciated!

Thanks!

Solution

Hi Constança :)

When you create the user in the User table, are you encrypting the password?
The default login system expects the pass to be hashed.

You can use the EncryptPassword function from USers eSpace to do it. 

Cheers.


Solution

Eduardo Jauch wrote:

Hi Constança :)

When you create the user in the User table, are you encrypting the password?
The default login system expects the pass to be hashed.

You can use the EncryptPassword function from USers eSpace to do it. 

Cheers.


It worked! Thank you so much Eduardo you are the very best! ;)