Function courses_moocfi_password_change

Source
pub async fn courses_moocfi_password_change(
    request: HttpRequest,
    pool: Data<PgPool>,
    payload: Json<PasswordChangeRequest>,
) -> ControllerResult<Json<bool>>
Expand description

POST /api/v0/tmc-server/users/change-password

Endpoint called by the TMC server when a user’s password is changed.

Only works if the authorization header is set to a valid shared secret between systems.