Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

General discussion
  1. OpenProject
  2. Forums
  3. General discussion
  4. No umlauts allowed in Username

No umlauts allowed in Username

Added by Hudri Wudri about 5 years ago

How can i allow umlauts in username. We're from Austria and have umlauts in usernames. The corresponding ldap user also has an umlaut 'Müller'. The workaround now is that i have an internal user for her with 'Mueller' but the problem is we change our password's every 30 days so she always has the old password for openproject. Thanks for your help.

Best regards,

Martin


Replies (3)

RE: No umlauts allowed in Username - Added by Oliver Günther about 5 years ago

Hi Martin,

this validation prevents other characters from login: https://github.com/opf/openproject/blob/dev/app/models/user.rb#L126

I assume this stems from the login being used in other remote services, but there is no intrinsic requirement in openproject to prohibit umlauts. You can patch OpenProject to remove this line.

Best

Oliver

RE: No umlauts allowed in Username - Added by Hudri Wudri about 5 years ago

Good Morning,

thanks for your reply. Which file does the form validation when a user is created? I can't test the modification of user.rb, because i am not able to create an user with an umlaut in the username.

Best regards

Martin

RE: No umlauts allowed in Username - Added by Hudri Wudri about 5 years ago

I did a workaround. Altered the username directly on database to bypass form validation.

  • (1 - 3/3)
Loading...