Files
Immich/open-api/patch/passkey_authentication_finish_dto.dart.patch
T
Santo Shakil 22e7b20d3e feat(mobile): login with passkey (#32782)
* feat(mobile): login with passkey

* feat(mobile): use the server feature level on the login page

* refactor(mobile): share the steps after a login

* password, OAuth and passkey logins end with one finishLogin
* OAuth now also connects the websocket, like the password login

* fix(mobile): passkey login through the shared login steps

* fix(mobile): build the login response through its constructor
2026-11-05 20:35:16 +03:00

19 lines
619 B
Diff

@@ -16,7 +16,7 @@ class PasskeyAuthenticationFinishDto {
required this.response,
});
- PasskeyAuthenticationFinishDtoResponse response;
+ Map<String, dynamic> response;
@override
bool operator ==(Object other) => identical(this, other) || other is PasskeyAuthenticationFinishDto &&
@@ -45,7 +45,7 @@ class PasskeyAuthenticationFinishDto {
final json = value.cast<String, dynamic>();
return PasskeyAuthenticationFinishDto(
- response: PasskeyAuthenticationFinishDtoResponse.fromJson(json[r'response'])!,
+ response: json[r'response'],
);
}
return null;