Skip to content

Conversation

@jeroenpelgrims
Copy link
Contributor

Updating a UserAuth without having the raw password is not possible.

Made the password parameter optional in the UpdateUserAuth method.

I also believe that this was your original intention that this should be possible seeing the null checks happening on the password variable within UpdateUserAuth. These are useless in the current implementation because an exception will be thrown on the assert in ValidateNewUser and the code will never reach the null checks anyway.

… is null or not provided the existing password will not be overwritten.
mythz added a commit that referenced this pull request Aug 7, 2013
Made password optional when calling UpdateUserAuth.
@mythz mythz merged commit 9cbff2e into ServiceStackV3:master Aug 7, 2013
@mythz
Copy link
Contributor

mythz commented Aug 7, 2013

cool, thx.

@jeroenpelgrims
Copy link
Contributor Author

This was my first pull request ever :D
Very excited about it being accepted.

Thanks for the awesome framework.

@mythz
Copy link
Contributor

mythz commented Aug 8, 2013

Well in that case, Congratz and welcome to GitHub! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants