[Libreoffice-commits] online.git: loleaflet/admin

Michael Meeks (via logerrit) logerrit at kemper.freedesktop.org
Wed May 20 21:01:49 UTC 2020


 loleaflet/admin/src/AdminSocketOverview.js |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

New commits:
commit bec19d433805d14776d0f3cf8d333b1e1924b37e
Author:     Michael Meeks <michael.meeks at collabora.com>
AuthorDate: Wed May 20 21:48:24 2020 +0100
Commit:     Andras Timar <andras.timar at collabora.com>
CommitDate: Wed May 20 23:01:31 2020 +0200

    Cleanup string and substitute protocol.
    
    Change-Id: Iaa229ec346037788b9de7e5f59038b8afe0f7136
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94607
    Tested-by: Jenkins
    Reviewed-by: Andras Timar <andras.timar at collabora.com>

diff --git a/loleaflet/admin/src/AdminSocketOverview.js b/loleaflet/admin/src/AdminSocketOverview.js
index c3b488010..6f4f6c667 100644
--- a/loleaflet/admin/src/AdminSocketOverview.js
+++ b/loleaflet/admin/src/AdminSocketOverview.js
@@ -401,7 +401,10 @@ var AdminSocketOverview = AdminSocketBase.extend({
 				msg =  _('Failed to set jwt authentication cookie over insecure connection');
 			}
 			else
-				msg =  _('Failed to authenticate this session over');
+			{
+				msg =  _('Failed to authenticate this session over protocol %0');
+				msg = msg.replace('%0', window.location.protocol);
+			}
 			vex.dialog.alert({ message: msg });
 		}
 	},


More information about the Libreoffice-commits mailing list