From 8f0a76ecef5591496dadcbea4b5a5fe7374d08ca Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Thu, 14 May 2020 23:04:19 +0200 Subject: [PATCH] Make SECRET_PLACEHOLDER available globally --- src/js/client.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/js/client.js b/src/js/client.js index 68c848db4..12fdc80ed 100644 --- a/src/js/client.js +++ b/src/js/client.js @@ -65,6 +65,8 @@ var ROLES = { USER: 'user' }; +var SECRET_PLACEHOLDER = String.fromCharCode(0x25CF).repeat(8); + angular.module('Application').service('Client', ['$http', '$interval', '$timeout', 'md5', 'Notification', function ($http, $interval, $timeout, md5, Notification) { var client = null;