Update openconnect-epfl: no longer needs to specify method
This commit is contained in:
parent
a2d54642b5
commit
ea253a957d
1 changed files with 1 additions and 2 deletions
|
@ -12,12 +12,11 @@ let
|
|||
rbw
|
||||
];
|
||||
text = ''
|
||||
METHOD="Microsoft Entra ID"
|
||||
RBW_ENTRY="EPFL Microsoft Auth"
|
||||
GASPAR_PASSWORD=$(rbw get "$RBW_ENTRY")
|
||||
GASPAR_TOKEN=$(rbw code "$RBW_ENTRY")
|
||||
|
||||
printf "\n%s\n%s\n%s\n" "$METHOD" "$GASPAR_PASSWORD" "$GASPAR_TOKEN" | command sudo openconnect \
|
||||
printf "%s\n" "$GASPAR_PASSWORD" "$GASPAR_TOKEN" | command sudo openconnect \
|
||||
--passwd-on-stdin \
|
||||
-u "pham" \
|
||||
--useragent='AnyConnect' \
|
||||
|
|
Loading…
Add table
Reference in a new issue