diff options
Diffstat (limited to 'lib/VNDB/Util/Auth.pm')
-rw-r--r-- | lib/VNDB/Util/Auth.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNDB/Util/Auth.pm b/lib/VNDB/Util/Auth.pm index b520eeba..cb0751e9 100644 --- a/lib/VNDB/Util/Auth.pm +++ b/lib/VNDB/Util/Auth.pm @@ -84,7 +84,7 @@ sub _authCheck { !$user || length($user) > 15 || length($user) < 2 || !$pass || length($pass) != 32; - my $d = $self->dbUserGet(username => $user, passwd => $pass)->[0]; + my $d = $self->dbUserGet(username => $user, passwd => $pass, what => 'mymessages')->[0]; return 0 if !defined $d->{id} || !$d->{rank}; $self->{_auth} = $d; |