-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allows for signing in with a username and a password #20
Conversation
// Goes through every user that has the email or username that was given and has password authentication enabled | ||
const connection = createConnection({ | ||
host : process.env.MYSQL_HOST, | ||
user : "root", |
Check failure
Code scanning / CodeQL
Hard-coded credentials
// Goes through every user that has the email or username that was given | ||
const connection = createConnection({ | ||
host : process.env.MYSQL_HOST, | ||
user : "root", |
Check failure
Code scanning / CodeQL
Hard-coded credentials
if (account.provider === "google") { | ||
const connection = createConnection({ | ||
host : process.env.MYSQL_HOST, | ||
user : "root", |
Check failure
Code scanning / CodeQL
Hard-coded credentials
const [id, username] = await new Promise((res) => { | ||
const connection = createConnection({ | ||
host : process.env.MYSQL_HOST, | ||
user : "root", |
Check failure
Code scanning / CodeQL
Hard-coded credentials
const mysql = require('mysql') | ||
const connection = mysql.createConnection({ | ||
host : process.env.MYSQL_HOST, | ||
user : "root", |
Check failure
Code scanning / CodeQL
Hard-coded credentials
const password = req.body.password | ||
const connection = mysql.createConnection({ | ||
host : process.env.MYSQL_HOST, | ||
user : "root", |
Check failure
Code scanning / CodeQL
Hard-coded credentials
const mysql = require('mysql') | ||
const connection = mysql.createConnection({ | ||
host : process.env.MYSQL_HOST, | ||
user : "root", |
Check failure
Code scanning / CodeQL
Hard-coded credentials
No description provided.