Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When we generate a `:common_name` on Users, we check for the presence of both `first_name` and `last_name`. If either is `nil`, we don't generate a `common_name`. ApiKey users only have one name (the name of the ApiKey itself) but we should set the `last_name` to an empty string. This way, the common name will still be generated.
- Loading branch information