Skip to main content

persist_user

Function persist_user 

Source
pub async fn persist_user(
    client: &DockerClient,
    container: &str,
    username: &str,
) -> Result<(), DockerError>
Expand description

Persist a user’s credentials and lock state to the managed volume.

Stores the shadow hash (not plaintext) and lock status in a JSON record.