How do i get the "with email" login option?

How do I allow login using email address like this?

Thank you.

44%20PM

Enable it in site settings, we plan to make it default on once we are sure it is 100% safe.

6 Likes

Thanks Jeff… I tried that but I must be blind because I cannot seem to figure out which setting to use.

I think we are sure it is safe, or at least as safe as “allowing people to reset password via email” is safe. We did review the code carefully. It does add “one more vector” of code that needs regular review, that is for sure.

The big open concern though is that it does not work right with the mobile apps so we can not really enable it by default until there is some sort of story and support for using the link with mobile apps.

Try enabling "enable local logins via email" and having at least one social login option.

4 Likes

Thanks Hawk! I Appreciate your help :slight_smile:

1 Like

I would not have guessed that was a requirement.

1 Like

Yeah, it’s a trivial bug that we’ll fix.

2 Likes

This should fix it

However I didn’t merge it yet, because the previous behaviour was to show the “with email” link only when username was filled.

Which was ok before but is a little bit weird now (when you don’t have any social login):

I would be in favor of showing it all the time now, if you agree.

8 Likes

Ok I merged it after removing the hide/show behavior and adding a few tests.

Thanks.

6 Likes

The site setting

enable local logins via email

Allow users to request a one-click login link to be sent to them via email.

Is now on by default in Discourse 2.2 beta.

4 Likes