Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: ac7ad8b99ede3825acd558e58d4cd22c4e891486
https://github.com/openSUSE/open-build-service/commit/ac7ad8b99ede3825acd558...
Author: Ana María Martínez Gómez
Date: 2017-03-20 (Mon, 20 Mar 2017)
Changed paths:
M src/api/app/models/user.rb
Log Message:
-----------
[api] Solve `password_changes_with_hash_type` bug
When the hash type is changed, the password should be updated, except if it was
`nil?`. In that case we don't care if it is updated or not. But that was not
what the method was doing. It failed when the password was not changed and and
when it was changed but it was `nil` before, as `!password_changed` was
`false` but `password_was.nil?` was `true`.
Commit: 76c7c1f2c9bdc010f7944e36841d417f8115b199
https://github.com/openSUSE/open-build-service/commit/76c7c1f2c9bdc010f7944e...
Author: Björn Geuken
Date: 2017-03-20 (Mon, 20 Mar 2017)
Changed paths:
M src/api/app/models/user.rb
Log Message:
-----------
Merge pull request #2866 from Ana06/refactor
[api] Solve `password_changes_with_hash_type` bug
Compare: https://github.com/openSUSE/open-build-service/compare/c1d951986b87...76c7c1...