couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r811710 - /couchdb/trunk/src/couchdb/couch_httpd_auth.erl
Date Sat, 05 Sep 2009 20:44:11 GMT
Author: jan
Date: Sat Sep  5 20:44:11 2009
New Revision: 811710

URL: http://svn.apache.org/viewvc?rev=811710&view=rev
Log:
thou shalt make before thou commit, thou shalt make before thou commit, thou shalt make before
thou commit

Modified:
    couchdb/trunk/src/couchdb/couch_httpd_auth.erl

Modified: couchdb/trunk/src/couchdb/couch_httpd_auth.erl
URL: http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/couch_httpd_auth.erl?rev=811710&r1=811709&r2=811710&view=diff
==============================================================================
--- couchdb/trunk/src/couchdb/couch_httpd_auth.erl (original)
+++ couchdb/trunk/src/couchdb/couch_httpd_auth.erl Sat Sep  5 20:44:11 2009
@@ -446,7 +446,7 @@
             Hash = case Password of
                 <<>> -> 
                     CurrentPasswordHash;
-                _P when OldPassword = [] ->
+                _P when OldPassword =:= [] ->
                     throw({forbidden, <<"Old password is incorrect.">>});
                 _Else ->
                     OldPasswordHash = hash_password(OldPassword1, UserSalt),



Mime
View raw message