Skip to content

PAM blocking? #26

@ArcticLampyrid

Description

@ArcticLampyrid

When I started to use PAM auth, it always got stuck.

match rx.await {

Workaround:
replace the following code

let _ = resp_chan.send(resp.result);

with

std::thread::spawn(move || {
    let _ = resp_chan.await(resp.result);
});

I'm still wondering why it works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions