GitLab wurde erfolgreich aktualisiert. Dank regelmäßiger Updates bleibt das THM GitLab sicher und Sie profitieren von den neuesten Funktionen. Danke für Ihre Geduld.

Commit 04ffe639 authored by Daniel Gerhardt's avatar Daniel Gerhardt Committed by Tom Käsler

Use UID instead of e-mail address as username

parent f47a1712
......@@ -81,7 +81,7 @@ def username_and_email
# Get the first part of the email address (before @)
# In addition in removes illegal characters
def generate_username(email)
email.match(/^[^@]*/)[0].mb_chars.normalize(:kd).gsub(/[^\x00-\x7F]/, '').to_s
def generate_temporarily_email(username)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment