Skip to content
Snippets Groups Projects
Verified Commit d768cf74 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

[Docs] Document username regex

parent aff78401
No related branches found
No related tags found
1 merge request!980Resolve "Add configurable username validator for signup"
Pipeline #56513 passed
......@@ -26,6 +26,16 @@ signup for everyone. A menu item will be added for public registration.
.. warning::
Do not enable this feature unless you intend to run a public AlekSIS instance.
Before enabling registration, you should consider restricting allowed usernames.
By default, all ASCII characters are allowed in usernames. Often, it is advisable
to not allow special characters. This often depends on the systems that will be
linked to AlekSIS.
To restrict usernames to a certain format, a regular expression can be defined
in the ``Regular expression for allowed usernames`` preference. For example, to
restrict the username to lower case letters and numbers, and beginning with a number,
the regex can be set to ``^[a-z][a-z0-9]+$`.
User invitations
~~~~~~~~~~~~~~~~
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment