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

cant login to 3.0.0-RC3, strips underscore, changes character case #206

Closed
ITServ-DE opened this issue Jul 2, 2019 · 1 comment
Closed

Comments

@ITServ-DE
Copy link

Request Type

Bug

Work Environment

Question Answer
OS version (server) Ubuntu
OS version (client) Win7
Cortex version / git hash 3.0.0-RC3
Package Type DEB
Browser type & version IE, Crome 73

Problem Description

After updating from Cortex 2.x to 3.0.0-RC3, I can no longer log in, because the login screen strips an underscore character from my user name.

A Cortex installation where all Superadmins have special chars in it's name will be unusable after upgrading.

Steps to Reproduce

  1. open Cortex 3.0.0-RC3 login screen
  2. enter any username having an underscore (some_user)
  3. enter any password
  4. open and enable network tracing
  5. hit the Sign In button

You will recognize the frontend calls /api/login with the login parameters, but it has mangled the user name and removed the underscore BEFORE sending it to the backend. As a result, the login fails.

Lost Underscore

Capital letters in the user name are converted to lowercase, and many other characters (like äöüß) get converted to spaces, too.

Random&User_Name$with§chars -> random user name with chars
Günther Müller -> gunter muller

@nadouani
Copy link
Contributor

nadouani commented Jul 2, 2019

This is a duplicate of #199 which is already solved

@nadouani nadouani closed this as completed Jul 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants