commit | fe175ca4b42ce0c3763cbfbff0221d8869227516 | [log] [tgz] |
---|---|---|
author | Jason Smith (work) <jhs@nodejitsu.com> | Fri May 31 18:06:25 2013 +0000 |
committer | Jason Smith (work) <jhs@nodejitsu.com> | Fri May 31 18:06:25 2013 +0000 |
tree | 9fe911ab30bce660936bed0ac41a037950c46679 | |
parent | 4269a98a203cec15fe80b18b20ec660ca1a7bfcb [diff] |
Allow storing a pre-hashed admin password When duplicating a couch, it is difficult to copy the _config/admins/* values. Storing the encoded value does not work because that value is re-hashed when stored. (Your password is the literal string "-pbkdf2-abcdef...".) This change will store any config setting unmodified if ?raw=true is in the query string. Updating _config/admins/* already requires admin privileges, so there is no change to the security.