[fractal/revert-855c9ee8] Revert "session: force_auth in RequestConfig"




commit 1ac16d8064852dad2b89aca0660488f6b7db56e0
Author: Julian Sparber <julian sparber net>
Date:   Fri Feb 11 12:21:09 2022 +0000

    Revert "session: force_auth in RequestConfig"
    
    This reverts commit 855c9ee8e0f4ffe6ec142fe053bdeeea5812e0f9

 src/session/mod.rs | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)
---
diff --git a/src/session/mod.rs b/src/session/mod.rs
index 96e5fa702..38898962c 100644
--- a/src/session/mod.rs
+++ b/src/session/mod.rs
@@ -309,10 +309,7 @@ impl Session {
                     .collect()
             };
             let config = ClientConfig::new()
-                // force_auth option to solve an issue with some servers configuration to require
-                // auth for profiles:
-                // https://gitlab.gnome.org/GNOME/fractal/-/issues/934
-                .request_config(RequestConfig::new().retry_limit(2).force_auth())
+                .request_config(RequestConfig::new().retry_limit(2))
                 .passphrase(passphrase.clone())
                 .store_path(path.clone());
 
@@ -364,10 +361,7 @@ impl Session {
     pub fn login_with_previous_session(&self, session: StoredSession) {
         let handle = spawn_tokio!(async move {
             let config = ClientConfig::new()
-                // force_auth option to solve an issue with some servers configuration to require
-                // auth for profiles:
-                // https://gitlab.gnome.org/GNOME/fractal/-/issues/934
-                .request_config(RequestConfig::new().retry_limit(2).force_auth())
+                .request_config(RequestConfig::new().retry_limit(2))
                 .passphrase(session.secret.passphrase.clone())
                 .store_path(session.path.clone());
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]