feat: handle the receiving of the token

This commit is contained in:
silver 2023-07-30 22:56:02 +01:00
parent 3a5b96c4d9
commit 4bdfa09ee3
3 changed files with 83 additions and 1 deletions

View file

@ -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)
}