Skip to content

login: add specific error logins based on login with password

Giuseppe De Palma requested to merge giusdp/fractal:login-errors into fractal-next

A first MR to add more feedback when logins fail. Some groundwork for handling login errors.

Add LoginError struct to model the possible error results from login with password and implement From<matrix_sdk::Error> to map the session.get_error to a LoginError and get the relevant display message to show in the login screen.

Fixes https://gitlab.gnome.org/GNOME/fractal/-/issues/729

Edited by Giuseppe De Palma

Merge request reports