Skip to content

Docs configurable usertable fields #856

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

Merged
merged 2 commits into from
Feb 17, 2022
Merged

Docs configurable usertable fields #856

merged 2 commits into from
Feb 17, 2022

Conversation

nik2208
Copy link
Contributor

@nik2208 nik2208 commented Feb 17, 2022

sorry.. this is my first github contribution.. forgot to modify README.md

@nik2208
Copy link
Contributor Author

nik2208 commented Feb 17, 2022

I see only now I could have published on the main pull request for this feature..

@mevdschee mevdschee merged commit a995dd6 into mevdschee:main Feb 17, 2022
@mevdschee mevdschee self-assigned this Feb 17, 2022
@mevdschee mevdschee self-requested a review February 17, 2022 12:36
@mevdschee
Copy link
Owner

Well done, thank you!

$password = isset($body->password) ? $body->password : '';
$newPassword = isset($body->newPassword) ? $body->newPassword : '';
$usernameFormFieldName = $this->getProperty('usernameFormField', 'username');
$passwordFormFieldName = $this->getProperty('passwordFormField', 'username');
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'username' should be 'password'

$usernameFormFieldName = $this->getProperty('usernameFormField', 'username');
$passwordFormFieldName = $this->getProperty('passwordFormField', 'username');
$newPasswordFormFieldName = $this->getProperty('newPasswordFormField', 'username');
$username = isset($body->usernameFormFieldName) ? $body->usernameFormFieldName : '';
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$body->usernameFormFieldName should be $body->$usernameFormFieldName

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