Skip to content

Commit

Permalink
fix(login): Always treat username and password as strings, not atom
Browse files Browse the repository at this point in the history
  • Loading branch information
andris9 committed Nov 5, 2024
1 parent 6da616a commit 01b3471
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/commands/login.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ module.exports = async (connection, username, password) => {

try {
let response = await connection.exec('LOGIN', [
{ type: 'ATOM', value: username },
{ type: 'ATOM', value: password, sensitive: true }
{ type: 'STRING', value: username },
{ type: 'STRING', value: password, sensitive: true }
]);
response.next();

Expand Down

0 comments on commit 01b3471

Please sign in to comment.