mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-10-20 06:37:23 +02:00
fix: encrypt stored GitHub credentials (#797)
This commit is contained in:
1 parent
b070d7e281
commit
3fb376dd53
32 files changed
+1098
-188
No files matched your search
@@ -2,7 +2,7 @@ import { Schema } from "mongoose";
|
||||
|
||||
const UserSchema = new Schema({
|
||||
accessTokens: {
|
||||
github: { type: String },
|
||||
github: { type: String, select: false },
|
||||
},
|
||||
accessTokenDates: {
|
||||
github: { type: Date },
|
||||
|
||||
Reference in new issue
Block a user