register
This commit is contained in:
9
src/authentication.js
Normal file
9
src/authentication.js
Normal file
@@ -0,0 +1,9 @@
|
||||
const sharedSecret = process.env.SHARED_SECRET;
|
||||
|
||||
const authentication = {
|
||||
checkSharedSecret: (providedSecret) => {
|
||||
return sharedSecret === providedSecret;
|
||||
}
|
||||
};
|
||||
|
||||
module.exports = authentication;
|
||||
Reference in New Issue
Block a user