Skip to content

Commit

Permalink
final
Browse files Browse the repository at this point in the history
  • Loading branch information
Julia Khabibova committed Oct 30, 2023
1 parent ab5863a commit 5140c5c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/controllers/users.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const bcrypt = require('bcryptjs');
const jwt = require('jsonwebtoken');

const { SECRET_KEY = 'mesto-test' } = process.env;
const { SECRET_KEY = 'mesto' } = process.env;
const { HTTP_STATUS_OK, HTTP_STATUS_CREATED } = require('http2').constants;
const mongoose = require('mongoose');
const User = require('../models/user');
Expand Down
2 changes: 1 addition & 1 deletion backend/middlewares/auth.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const jwt = require('jsonwebtoken');

const { SECRET_KEY = 'mesto-test' } = process.env;
const { SECRET_KEY = 'mesto' } = process.env;
const UnautorizedError = require('../errors/UnauthorizedError');

// eslint-disable-next-line consistent-return
Expand Down
5 changes: 5 additions & 0 deletions id_ed25519
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAMwAAAAtzc2gtZW
QyNTUxOQAAACDIBDf2eN5fUB8H3Zt+snTiVuO46W6FvVGS2oTBYc6efwAAAJjgKXdi4Cl3
YgAAAAtzc2gtZWQyNTUxOQAAACDIBDf2eN5fUB8H3Zt+snTiVuO46W6FvVGS2oTBYc6efw
AAAEDJe+lnR+PN6avujGl78h0u2w9q7+0Ib9ebk/+Tt8BPnsgEN/Z43l9QHwfdm36ydOJW
47jpboW9UZLahMFhzp5/AAAAFWp1bGxpYXVmYTIwMDBAbWFpbC5ydQ

0 comments on commit 5140c5c

Please sign in to comment.