DeployHubProject / DeployHub-Pro

DeployHub Pro Pipeline Status Project
https://www.openmakesoftware.com/application-release-automation-for-continuous-delivery/
Other
11 stars 4 forks source link

login failing for new user created from API #240

Closed piyush94 closed 5 years ago

piyush94 commented 5 years ago

image

piyush94 commented 5 years ago

API: http://host:8080/dmadminweb/API/new/user/demouser?realname=User, Demo&pw=password&cpw=y&user=admin&pass=admin

sbtaylor15 commented 5 years ago

How did you call the API via curl or another way? Please send me the command that you used.

piyush94 commented 5 years ago
curl --request POST \
  --url 'http://<host>:8080/dmadminweb/API/new/user/demouser?realname=User%2C%20Demo&pw=password&cpw=y&user=admin&pass=admin' \
  --cookie JSESSIONID=9F846CFE77C310BD112476636C10891C

This worked fine for OSS version.

sbtaylor15 commented 5 years ago

Fixed the login issue when a force password change was needed. The password change was not logging in with the username and old password so the userid was not found for the update. Passed testing. Run docker pull quay.io/deployhub/deployhub-pro to get the update.

piyush94 commented 5 years ago

Thanks, working now.