From 6e6eeef31e5ac33fa8d91d922ce08ee043f27436 Mon Sep 17 00:00:00 2001 From: LeChatP Date: Mon, 21 Oct 2024 00:09:19 +0200 Subject: [PATCH] Bump to pam-client2 --- Cargo.toml | 2 +- src/sr/pam/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 930da4a..9b3e9b7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -67,7 +67,7 @@ serde = { version = "1.0", features=["rc"] } serde_json = "1.0" ciborium = "0.2" glob = "0.3" -pam-client2 = { version = "0.5.1", git = "https://gitlab.com/LeChatP/rust-pam-client.git" } +pam-client2 = "0.5" bitflags = { version = "2.6" } shell-words = "1.1" linked_hash_set = { version = "0.1" } diff --git a/src/sr/pam/mod.rs b/src/sr/pam/mod.rs index 9b11798..e58e4ad 100644 --- a/src/sr/pam/mod.rs +++ b/src/sr/pam/mod.rs @@ -4,7 +4,7 @@ use std::{ ops::Deref, }; -use pam_client::{Context, ConversationHandler, ErrorCode, Flag}; +use pam_client2::{Context, ConversationHandler, ErrorCode, Flag}; use pcre2::bytes::RegexBuilder; use log::{debug, error, info, warn};