summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Multi/API.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Multi/API.pm b/lib/Multi/API.pm
index c9b2540d..985081bd 100644
--- a/lib/Multi/API.pm
+++ b/lib/Multi/API.pm
@@ -272,6 +272,8 @@ sub login {
$c->{clientver} = $arg->{clientver};
cres $c, ['ok'], 'Login using client "%s" ver. %s', $c->{client}, $c->{clientver};
return;
+ } else {
+ $arg->{username} = lc $arg->{username};
}
login_auth($c, $arg);