@pichalite I am still confused that. it need update after install. But our node_module files always in ignore... so I don't thinks it's a good way to put plugs into node_module....
Customsize the ui of the sso entrance
-
Hi I want to customsize the ui of the sso entrance like you did for the nodebb sso in login page,i want to know how do this ,i am new here,thanks
-
Something like this in the custom header in the ACP
(window); "use strict"; (function() { $(window).on("action:ajaxify.end", function(e, t) { if (t.url === "login" || t.url === "register") { var i = $(".alt-logins li.nodebb"); i.css("display", "none"); $('<a href="' + RELATIVE_PATH + '/auth/nodebb" class="btn btn-default"><i class="fa fa-external-link"></i> Login via NodeBB.org</a>').insertAfter(i) } })
})();
Replacing
nodebb
with your auth endpoint. I took that from the minified js, so I may have missed a bit off, but I'm not sure. -
@a_5mith thank u ,help me a lot
-
@a_5mith I can't get anything by you
I'm looking to expand that a bit so it doesn't have to be a FontAwesome icon... Maybe a button... Maybe even HTML.........
-
@julian hmm,that's sounds great!