File tree Expand file tree Collapse file tree 3 files changed +11
-12
lines changed
passkey-client/src/extensions Expand file tree Collapse file tree 3 files changed +11
-12
lines changed Original file line number Diff line number Diff line change 1515 strategy :
1616 matrix :
1717 rust :
18- - stable
18+ - 1.85.1
1919 steps :
2020 - uses : actions/checkout@v4
2121 - uses : actions-rs/toolchain@v1
3131 strategy :
3232 matrix :
3333 rust :
34- # Once we settle on a MSRV we should add that here.
35- - stable
34+ - 1.85.1
3635 steps :
3736 - uses : actions/checkout@v4
3837 - uses : actions-rs/toolchain@v1
5655 strategy :
5756 matrix :
5857 rust :
59- - stable
58+ - 1.85.1
6059 steps :
6160 - uses : actions/checkout@v4
6261 - uses : actions-rs/toolchain@v1
7170 strategy :
7271 matrix :
7372 rust :
74- # Once we settle on a MSRV we should add that here.
75- - stable
73+ - 1.85.1
7674 steps :
7775 - uses : actions/checkout@v4
7876 - uses : actions-rs/toolchain@v1
8785 strategy :
8886 matrix :
8987 rust :
90- - stable
88+ - 1.85.1
9189 lang :
9290 - typescript
9391 - kotlin
Original file line number Diff line number Diff line change @@ -199,15 +199,15 @@ fn get_ctap_extension(
199199 // base64url encoding, or does not equal the id of some element of
200200 // allowCredentials after performing base64url decoding, then return a
201201 // DOMException whose name is “SyntaxError”.
202- if let Some ( record) = precomputed_eval_cred. as_ref ( )
203- && record. iter ( ) . any ( |( k_bytes, _) | {
202+ if let Some ( record) = precomputed_eval_cred. as_ref ( ) {
203+ if record. iter ( ) . any ( |( k_bytes, _) | {
204204 k_bytes. is_empty ( )
205205 || allow_credentials
206206 . as_ref ( )
207207 . is_some_and ( |allow| !allow. iter ( ) . any ( |cred| cred. id == * k_bytes) )
208- } )
209- {
210- return Err ( WebauthnError :: SyntaxError ) ;
208+ } ) {
209+ return Err ( WebauthnError :: SyntaxError ) ;
210+ }
211211 }
212212
213213 let new_eval_by_cred = precomputed_eval_cred
Original file line number Diff line number Diff line change 1+ 1.85.1
You can’t perform that action at this time.
0 commit comments