Skip to content

Commit 2316293

Browse files
Merge pull request #17 from curityio/fix/missing-attributes-id-error
fix: missing attribute id when activating the account
2 parents dc00c9f + decee91 commit 2316293

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/io/curity/identityserver/plugin/usernamepassword/registration/UsernamePasswordRegistrationRequestHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ private Optional<RegistrationResult> createAccount(RegistrationRequestModel requ
151151

152152
try
153153
{
154-
_accountManager.withCredentialManager(_userCredentialManager).createAccount(account);
154+
account = _accountManager.withCredentialManager(_userCredentialManager).createAccount(account);
155155
}
156156
catch (CredentialUpdateException e)
157157
{

0 commit comments

Comments
 (0)