Current code is trying to reconnect all subkeys while resetting password of a user. But that does not work because reconnecting subkey required actual subkeys password and password key password. That cannot be has not retrieved in the current code. Also the current code is not designed for that. It suppose to delete all the subkeys and once the user reset the password, they have to login with that password and connect the required subkeys manually.
Current code is trying to reconnect all subkeys while resetting password of a user. But that does not work because reconnecting subkey required actual subkeys password and password key password. That cannot be has not retrieved in the current code. Also the current code is not designed for that. It suppose to delete all the subkeys and once the user reset the password, they have to login with that password and connect the required subkeys manually.
Also its mentioned in the user interface as well.![image](https://user-images.githubusercontent.com/8621243/58417427-5fb0f280-80a2-11e9-8658-497f131e3b41.png)