There's already an api for this but the password validation still needs to be implemented.
In order to support this we need to determine the PHP Hash function that is used and use the same one in dotnet.
It looks like this is where the password is hashed in PHP
https://github.com/sillsdev/web-languageforge/blob/develop/src/Api/Model/Shared/UserModelWithPassword.php
It looks like we use BCrypt with a cost of 7. This should be a suitable replacement in dotnet but has not been tested.
There's already an api for this but the password validation still needs to be implemented.
In order to support this we need to determine the PHP Hash function that is used and use the same one in dotnet.
It looks like this is where the password is hashed in PHP
https://github.com/sillsdev/web-languageforge/blob/develop/src/Api/Model/Shared/UserModelWithPassword.php
It looks like we use BCrypt with a cost of 7. This should be a suitable replacement in dotnet but has not been tested.