diff --git a/inside/migration/form.php b/inside/migration/form.php index 65dc8f2..c17d89b 100644 --- a/inside/migration/form.php +++ b/inside/migration/form.php @@ -9,7 +9,7 @@ $current_username = getCurrentUserName();
*
-
+
*

*
diff --git a/inside/migration/username_available.php b/inside/migration/username_available.php index d906581..3d28044 100644 --- a/inside/migration/username_available.php +++ b/inside/migration/username_available.php @@ -8,10 +8,11 @@ $current_username = getCurrentUserName(); /* Check for username availability. * - You are the owner of the username (the logged in user). * - The username is not allready taken. */ -if ( ! user_exists($_GET['username']) || $_GET['username'] == $current_username) { +if ( ! user_exists($_GET['username']) || $_GET['username'] == strtolower($current_username)) { echo "true"; } else { echo "false"; } + ?>