mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
Revert redundant changes to static js
This commit is contained in:
parent
a4daa899ec
commit
0ade403f55
@ -56,7 +56,6 @@ var show_login = function() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (matrixLogin.serverAcceptsSso) {
|
if (matrixLogin.serverAcceptsSso) {
|
||||||
$("#sso_form").attr("action", "/_matrix/client/r0/login/sso/redirect");
|
|
||||||
$("#sso_flow").show();
|
$("#sso_flow").show();
|
||||||
} else if (matrixLogin.serverAcceptsCas) {
|
} else if (matrixLogin.serverAcceptsCas) {
|
||||||
$("#sso_form").attr("action", "/_matrix/client/r0/login/cas/redirect");
|
$("#sso_form").attr("action", "/_matrix/client/r0/login/cas/redirect");
|
||||||
@ -122,7 +121,6 @@ matrixLogin.onLogin = function(response) {
|
|||||||
// clobber this function
|
// clobber this function
|
||||||
console.log("onLogin - This function should be replaced to proceed.");
|
console.log("onLogin - This function should be replaced to proceed.");
|
||||||
console.log(response);
|
console.log(response);
|
||||||
alert("Login successful!");
|
|
||||||
};
|
};
|
||||||
|
|
||||||
var parseQsFromUrl = function(query) {
|
var parseQsFromUrl = function(query) {
|
||||||
|
Loading…
Reference in New Issue
Block a user