mirror of
https://codeberg.org/icewind/haze.git
synced 2026-06-03 17:14:08 +02:00
basic ldap
This commit is contained in:
parent
2627bb9427
commit
8f3405fabe
7 changed files with 286 additions and 9 deletions
|
|
@ -135,8 +135,8 @@ impl HazeArgs {
|
|||
let service = args
|
||||
.peek()
|
||||
.map(|s| s.as_ref())
|
||||
.map(Service::from_type)
|
||||
.flatten();
|
||||
.and_then(Service::from_type)
|
||||
.and_then(|list| list.first().cloned());
|
||||
if service.is_some() {
|
||||
let _ = args.next();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue