Skip to content

Commit

Permalink
Fix reset token request
Browse files Browse the repository at this point in the history
  • Loading branch information
sokolovstas committed Jan 26, 2022
1 parent 8c2bfb7 commit 962612d
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
21 changes: 18 additions & 3 deletions cmd/config-boltdb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,13 @@ storage:
dynamo:
region: ""
endpoint: ""
grpc:
cmd: ""
params: {}
userStorage:
type: grpc
type: boltdb
boltdb:
path: ""
path: ./data/db.db
mongo:
connection: ""
database: ""
Expand All @@ -41,6 +44,9 @@ storage:
dynamo:
region: ""
endpoint: ""
grpc:
cmd: ""
params: {}
tokenBlacklist:
type: boltdb
boltdb:
Expand All @@ -51,6 +57,9 @@ storage:
dynamo:
region: ""
endpoint: ""
grpc:
cmd: ""
params: {}
verificationCodeStorage:
type: boltdb
boltdb:
Expand All @@ -61,6 +70,9 @@ storage:
dynamo:
region: ""
endpoint: ""
grpc:
cmd: ""
params: {}
inviteStorage:
type: boltdb
boltdb:
Expand All @@ -71,6 +83,9 @@ storage:
dynamo:
region: ""
endpoint: ""
grpc:
cmd: ""
params: {}
sessionStorage:
type: memory
sessionDuration: 300
Expand Down Expand Up @@ -110,7 +125,7 @@ login:
loginWith:
username: false
phone: false
email: false
email: true
federated: false
tfaType: app
tfaResendTimeout: 0
Expand Down
1 change: 1 addition & 0 deletions web_apps_src/web-element/cypress/support/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ Cypress.Commands.add('userSet', async data => {
});

Cypress.Commands.add('getResetTokenURL', async () => {
await login();
const resetTokenData = await fetch(`${adminUrl}/users/generate_new_reset_token`, {
body: JSON.stringify({ user_id: userId, app_id: appId }),
method: 'POST',
Expand Down

0 comments on commit 962612d

Please sign in to comment.