feat: handle the receiving of the token
This commit is contained in:
parent
3a5b96c4d9
commit
4bdfa09ee3
3 changed files with 83 additions and 1 deletions
|
@ -239,3 +239,7 @@ pub async fn get_wolves(db: &Pool<Sqlite>) -> Vec<AccountWolves> {
|
|||
.await
|
||||
.unwrap_or(vec![])
|
||||
}
|
||||
|
||||
pub fn uid_to_dn(uid: &str) -> String {
|
||||
format!("uid={},ou=users,dc=skynet,dc=ie", uid)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue