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

Nicename needs to be truncated at 50 chars #114

Open
heiglandreas opened this issue Sep 30, 2016 · 3 comments
Open

Nicename needs to be truncated at 50 chars #114

heiglandreas opened this issue Sep 30, 2016 · 3 comments

Comments

@heiglandreas
Copy link
Owner

Thanks to @rafaelnollitognon who raised the issue!

The nicename-field in the DB is a varchar(50). Therefore the nicename needs to be trunkated appropriately!

@heiglandreas
Copy link
Owner Author

In the file authldap.php go to line 357
that should be an empty line.
There you should add the following:
$user_info['user_nicename‘] = substr($user_info['user_nicename‘], 0, 50);

@Yogendra0Sharma
Copy link
Contributor

Hi @heiglandreas
Can I work on this issue?
Cloud you please assign it to me?

@heiglandreas
Copy link
Owner Author

Hey @Yogendra0Sharma - Go ahead!

There's no need to assign you to this issue. Fork the repo and create a PR with the changes and I'll happily check and merge it!

heiglandreas added a commit that referenced this issue Jun 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants