summary refs log tree commit diff
path: root/synapse/static
diff options
context:
space:
mode:
authorAndrew Morgan <1342360+anoadragon453@users.noreply.github.com>2020-04-09 12:38:38 +0100
committerGitHub <noreply@github.com>2020-04-09 12:38:38 +0100
commit7f7f9968b3107838e13b4e2b70bde823882bf734 (patch)
tree81e9ec4a7c351dfd6313eeae869cd3d95f3e08c1 /synapse/static
parentUpgrade jQuery to 3.x on fallback login/registration screens (#7236) (diff)
downloadsynapse-7f7f9968b3107838e13b4e2b70bde823882bf734.tar.xz
Make it clearer to the user that they haven't overridden onLogin/Register (#7237)
Diffstat (limited to 'synapse/static')
-rw-r--r--synapse/static/client/login/js/login.js3
-rw-r--r--synapse/static/client/register/js/register.js2
2 files changed, 2 insertions, 3 deletions
diff --git a/synapse/static/client/login/js/login.js b/synapse/static/client/login/js/login.js
index 4c8920b631..611df36d3f 100644
--- a/synapse/static/client/login/js/login.js
+++ b/synapse/static/client/login/js/login.js
@@ -128,8 +128,7 @@ matrixLogin.password_login = function() {
 
 matrixLogin.onLogin = function(response) {
     // clobber this function
-    console.log("onLogin - This function should be replaced to proceed.");
-    console.log(response);
+    console.warn("onLogin - This function should be replaced to proceed.");
 };
 
 var parseQsFromUrl = function(query) {
diff --git a/synapse/static/client/register/js/register.js b/synapse/static/client/register/js/register.js
index 959d120d7d..3547f7be4f 100644
--- a/synapse/static/client/register/js/register.js
+++ b/synapse/static/client/register/js/register.js
@@ -113,5 +113,5 @@ matrixRegistration.signUp = function() {
 
 matrixRegistration.onRegistered = function(hs_url, user_id, access_token) {
     // clobber this function
-    console.log("onRegistered - This function should be replaced to proceed.");
+    console.warn("onRegistered - This function should be replaced to proceed.");
 };