application/settings.c

changeset 98
16e84fac48bd
parent 94
7fdf1489b82f
--- a/application/settings.c	Thu Nov 28 18:03:12 2024 +0100
+++ b/application/settings.c	Fri Nov 29 22:11:07 2024 +0100
@@ -1106,7 +1106,7 @@
             return repo->url.value.ptr;
         }
         case 2: {
-            return repo->user.value.ptr;
+            return repo->user.value.ptr ? repo->user.value.ptr : repo->stored_user.value.ptr;
         }
         case 3: {
             return repo->full_encryption.value ? "yes" : "no";

mercurial