diff options
author | Christian Pointner <equinox@helsinki.at> | 2014-09-18 18:46:50 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2014-09-18 18:46:50 (GMT) |
commit | 2960db4ed4451dcc3481f91d45b035cb5a28a6c6 (patch) | |
tree | 293ad29a43cf68d6040d5254998e5010a3343fbb /lib | |
parent | 8d02a9dca021a9b772dd96b513be0533c575703f (diff) |
fixed check_token
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/rddb.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rddb.pm b/lib/rddb.pm index 226c415..7a885be 100755 --- a/lib/rddb.pm +++ b/lib/rddb.pm @@ -68,7 +68,7 @@ sub check_token return (undef, 'ERROR', "user '" . $username . "' not known by rivendell") } - if($token_result == $token) { + if($token_result eq $token) { return (1, 'OK', 'success'); } return (0, 'ERROR', "wrong password"); |