kyksh Posted February 3, 2021 Share Posted February 3, 2021 Hi! I need users to login by their email address. This works when I change the value in ProcessLogin.module 122 protected $useEmailLogin = null; to 122 protected $useEmailLogin = true; What would be a recommended way to enable this? There's this line in ProcessLogin.module: 15 * @property bool|int $allowEmail Whether or not email login is allowed (0|false=off, 1|true=Yes, 2=Yes or name also allowed) But I can't figure out how to set this. I tried next to $useEmailLogin in ProcessLogin.module and in config.php, but neither takes effect. BTW I tried module LoginWithEmail but it seems outdated. My PW version is 3.0.165 Link to comment Share on other sites More sharing options...
MoritzLost Posted February 3, 2021 Share Posted February 3, 2021 You can change that through the module settings. In your backend, go to Modules -> Configure -> ProcessLogin. There you'll find the Login Type setting which you can set to allow login with username, email or both. 3 Link to comment Share on other sites More sharing options...
kyksh Posted February 3, 2021 Author Share Posted February 3, 2021 So embarrasingly easy. Need to check out more PW basics... Thank you! 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now