Skip to content

[BUG]: 2 lettered usernames & SSO #402

@jabsammy

Description

@jabsammy

Describe the bug

Hello! Loving the new release :)

I noticed a small thing: my sso-user has a 2 lettered username and when auto-registering in jotty, i get my 2 lettered username. In the user setting, when trying to give my user a password, i get an error like this:

Image

I suggest easing the username constrains and allowing for 2 letter usernames as they are quite common in private selfhosted deployments :)

Steps to Reproduce

  • autoregister a SSO-jotty user with a 2 lettered prefered_username
  • go into user settings and try to set a new passwort for said user

How do you run Jotty?

Docker

Jotty Version

latest

Checklist

  • I have searched across other issues to make sure this bug has not been already reported.

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptedThis has been accepted and will be worked on

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions