-
Notifications
You must be signed in to change notification settings - Fork 7
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
added sessions integration and remaining schemas #40
Conversation
Someone is attempting to deploy a commit to a Personal Account owned by @UBA-GCOEN on Vercel. @UBA-GCOEN first needs to authorize it. |
app.use(session({ | ||
secret: process.env.SESSION_SECRET, | ||
resave: false, | ||
saveUninitialized: false | ||
}, | ||
(next)=>{ | ||
next() | ||
} | ||
)) |
Check warning
Code scanning / CodeQL
Clear text transmission of sensitive cookie
const router = express.Router(); | ||
|
||
import {userAdmin, signup, signin} from "../controllers/userAdmin.js"; | ||
|
||
|
||
router.get("/", userAdmin) | ||
router.post("/signup", signup) | ||
router.post("/signin", signin) | ||
router.post("/signin", session, signin) |
Check failure
Code scanning / CodeQL
Missing rate limiting
|
||
import {userStudent, signup, signin} from "../controllers/userStudent.js"; | ||
|
||
|
||
router.get("/", userStudent) | ||
router.post("/signup", signup) | ||
router.post("/signin", signin) | ||
router.post("/signin",session, signin) |
Check failure
Code scanning / CodeQL
Missing rate limiting
app.use(session({ | ||
secret: process.env.SESSION_SECRET, | ||
resave: false, | ||
saveUninitialized: false | ||
}, | ||
(next)=>{ | ||
next() | ||
} | ||
)) |
Check failure
Code scanning / CodeQL
Missing CSRF middleware
Signed-off-by: Naresh <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@naresh good to go 👍
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
if there is already an active session it will log in with the session data