mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-28 09:19:24 -05:00
Make it clearer to the user that they haven't overridden onLogin/Register (#7237)
This commit is contained in:
parent
55d46da59a
commit
7f7f9968b3
1
changelog.d/7237.misc
Normal file
1
changelog.d/7237.misc
Normal file
@ -0,0 +1 @@
|
||||
Change log line that told user to implement onLogin/onRegister fallback js functions to a warning, instead of an info, so it's more visible.
|
@ -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) {
|
||||
|
@ -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.");
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user