We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 6e0cfd90 authored by Evan Prodromou's avatar Evan Prodromou

fixup some nickname handling

darcs-hash:20080517175022-84dde-475a63e7f8d400c508d259fcbc9959588720316b.gz
parent fb89cf1e
...@@ -38,7 +38,7 @@ class RegisterAction extends Action { ...@@ -38,7 +38,7 @@ class RegisterAction extends Action {
$password = $this->arg('password'); $password = $this->arg('password');
$confirm = $this->arg('confirm'); $confirm = $this->arg('confirm');
$email = $this->arg('email'); $email = $this->arg('email');
# Input scrubbing # Input scrubbing
$nickname = common_canonical_nickname($nickname); $nickname = common_canonical_nickname($nickname);
......
...@@ -240,7 +240,7 @@ function common_current_user() { ...@@ -240,7 +240,7 @@ function common_current_user() {
# get canonical version of nickname for comparison # get canonical version of nickname for comparison
function common_canonical_nickname($nickname) { function common_canonical_nickname($nickname) {
# XXX: UTF-8 canonicalization (like combining chars) # XXX: UTF-8 canonicalization (like combining chars)
return strtolower($nickname); return $nickname;
} }
# get canonical version of email for comparison # get canonical version of email for comparison
......
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