Local login is when you log in via the form built into NodeBB. This is as opposed to SSO login or some other form of external login.
I believe the local login restriction will only apply if there are other login options available.
Would it be reasonable to enable switching between main and alternative authentication methods in admin area?
Visitors often stay logged into their Facebook / Google accounts and offering Social Authentication first, may encourage user signup, same applies to users redirected from social networks, they're already logged in, ready to sign up with few clicks.
The SSO plugins display on the login page IIRC, are you asking for an interstitial or a header on the registration page?
Here's some custom CSS to show the Alternative Logins SSO section above the regular login on mobile:
@media(max-width: 992px) {
.page-login #content .row {
display: flex;
flex-direction: column-reverse;
}
}
@pitaj short and clean solution, thank you! How about rewriting the title? Here is the custom CSS but I guess this will not get translated to Chinese for e.g.:
@media(max-width: 992px) {
.page-login #content .row {
display: flex;
flex-direction: column-reverse;
}
.alt-login-block h4 {
visibility: hidden;
}
.alt-login-block h4:after {
position: absolute;
padding: 0px;
top: 0px;
display: block;
visibility: visible;
content:'Social Login';
}
}