Skip to content

Commit

Permalink
Resolved Issue of Error in Requesting Forgot Password Reset Link (Fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
stanleyowen committed May 13, 2021
1 parent 8eee0d9 commit 9626abf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion server/models/otp.model.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const tokenSchema = new Schema ({
data: {
type: String,
required: true,
minlength: 32,
minlength: 64,
maxlength: 64
}, iv: {
type: String,
Expand Down
4 changes: 2 additions & 2 deletions server/models/token.model.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ const tokenSchema = new Schema ({
data: {
type: String,
required: true,
minlength: 32,
maxlength: 32
minlength: 64,
maxlength: 64
}, iv: {
type: String,
required: true,
Expand Down

0 comments on commit 9626abf

Please sign in to comment.