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

Allow special characters in credential login names (8.0) #475

Merged

Conversation

timopollmeier
Copy link
Member

The login usernames can now also contain these characters: - _ \ @ .
This is a port of #59.

The login usernames can now also contain these characters: - _ \ @

A new function validate_credential_username has been added to ensure
the check is consistent and it is also done when creating new
credentials because packages can be generated not only for
auto-generated credentials.
The dot character is now also allowed in credential user names.
@timopollmeier timopollmeier requested a review from a team April 10, 2019 08:51
It was accidentally removed when porting username validation from a
version without public key credentials.
@mattmundell mattmundell merged commit 81a6291 into greenbone:gvmd-8.0 Apr 12, 2019
@timopollmeier timopollmeier deleted the credential-login-characters-8.0 branch August 8, 2019 07:04
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