fetch registration data from database, generate challenge for user, return challenge or error
Details
Details
tested with method that calls this helper function
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
services/identity/src/service.rs | ||
---|---|---|
345 | I'm not sure if it is a good practice in rust, but returning values by parameters is usually really bad for maintainability of the code. We should clearly define a contract where parameters are used to provide the input for a function, and its result is returned. So in this case, server_login should become a part of the value that is returned. |