You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our client application requires that the user be created without any activation to proceed with the game. To do that, I have modified the UserService.createUser() so that activationKey is set to NULL and activated is set TRUE. I also provide the input password the user has provided. The user gets created without a problem but cannot login due to this error:
I have no idea what happens if the salt is "NULL", but appart from the part that it's a bad idea (and illegal in some countries, like mine), if you don't want the salt, then remove the password encryption altogether.
That's more a question for StackOverflow, and not a JHipster bug, so I'm closing this.
Motivation for or Use Case
Our client application requires that the user be created without any activation to proceed with the game. To do that, I have modified the UserService.createUser() so that
activationKey
is set to NULL andactivated
is set TRUE. I also provide the input password the user has provided. The user gets created without a problem but cannot login due to this error:I tried to debug and discovered that the error is in this code:
The
salt
is NULL but the password is definitely correct! I was wondering if I was miss a step or this is a bug.Any help is greatly appreciated.
JHipster Version(s)
1.8.3
JHipster configuration, a
.yo-rc.json
file generated in the root folderBrowsers and Operating System
Debian 8
Safari, Chrome
The text was updated successfully, but these errors were encountered: