Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Login fields respect $config->validFields #61

Merged
merged 2 commits into from
Jul 9, 2019

Conversation

MGatner
Copy link
Collaborator

@MGatner MGatner commented Jun 30, 2019

This allows Views\login and Controllers\AuthController to accept a username if it is configured in $config->validFields. The login form will switch its type between text and email depending on the config value, and AuthController checks for a valid email to use when attempting the login call.

@MGatner
Copy link
Collaborator Author

MGatner commented Jun 30, 2019

Ah shoot I just noticed those files were indent with spaces and I submitted tabs. Let me know if you'd like me to redo that. I thought this repo was tabs but maybe I just never paid attention...

@MGatner
Copy link
Collaborator Author

MGatner commented Jul 9, 2019

@lonnieezell have you had a chance to look at this? I would like to implement this change in a current project, which I can do locally or through the repo (depending on if you think it is appropriate as a general change), but I need to make a decision.

@lonnieezell
Copy link
Owner

Sorry - this one slipped through the cracks. In the middle of moving to a new house and trying to sell the current one so everything's a bit crazy on this side. This looks fine.

@lonnieezell lonnieezell merged commit 0a3953d into lonnieezell:develop Jul 9, 2019
@MGatner MGatner deleted the login-username branch July 9, 2019 15:00
@MGatner
Copy link
Collaborator Author

MGatner commented Jul 9, 2019

No worries! Moving is a $&%*# - take care of yourself and don't let us hecklers get to you. ^^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants