Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 928 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 928 Bytes

bug

Sails application

Links

This Repo is to demonstrate a sails bug

Bug Description:

Cannot decrypt a record that was created using the findOrCreate method, create method decrypts fine.

Recreation steps:

  • Update datastores with some local postgres db config
  • Lift app
  • create a record with the user/signup1 endpoint (uses create method)
  • create a record with the user/signup2 endpoint (uses findOrCreate method)
  • visit the user/show endpoint and note how 1 record is decrypting the password entered correctly and one is not