mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
Merge branch 'master' into setup_config_generation
This commit is contained in:
commit
683a8e8b7a
@ -68,9 +68,9 @@ export class PublishNameLogic {
|
||||
*/
|
||||
public getUsername(publishNameType: PublishNameType): string {
|
||||
if (this.isUsernameFromInitials(publishNameType)) {
|
||||
return this.filterOutInvalidChar(
|
||||
this.firstUpperCaseSecondLowerCase(this.user.firstName) +
|
||||
this.firstUpperCaseSecondLowerCase(this.user.lastName),
|
||||
return (
|
||||
this.firstUpperCaseSecondLowerCase(this.filterOutInvalidChar(this.user.firstName)) +
|
||||
this.firstUpperCaseSecondLowerCase(this.filterOutInvalidChar(this.user.lastName))
|
||||
)
|
||||
} else if (this.isUsernameFromAlias(publishNameType)) {
|
||||
return this.filterOutInvalidChar(this.user.alias)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user