Skip to content
Snippets Groups Projects
Unverified Commit 7f7f9968 authored by Andrew Morgan's avatar Andrew Morgan Committed by GitHub
Browse files

Make it clearer to the user that they haven't overridden onLogin/Register (#7237)

parent 55d46da5
No related branches found
No related tags found
No related merge requests found
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.
\ No newline at end of file
...@@ -128,8 +128,7 @@ matrixLogin.password_login = function() { ...@@ -128,8 +128,7 @@ matrixLogin.password_login = function() {
matrixLogin.onLogin = function(response) { matrixLogin.onLogin = function(response) {
// clobber this function // clobber this function
console.log("onLogin - This function should be replaced to proceed."); console.warn("onLogin - This function should be replaced to proceed.");
console.log(response);
}; };
var parseQsFromUrl = function(query) { var parseQsFromUrl = function(query) {
......
...@@ -113,5 +113,5 @@ matrixRegistration.signUp = function() { ...@@ -113,5 +113,5 @@ matrixRegistration.signUp = function() {
matrixRegistration.onRegistered = function(hs_url, user_id, access_token) { matrixRegistration.onRegistered = function(hs_url, user_id, access_token) {
// clobber this function // clobber this function
console.log("onRegistered - This function should be replaced to proceed."); console.warn("onRegistered - This function should be replaced to proceed.");
}; };
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment