-
Notifications
You must be signed in to change notification settings - Fork 192
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #396 from RB-Isiaq/feat/enable-2fa
feat: enable 2fa
- Loading branch information
Showing
14 changed files
with
338 additions
and
163 deletions.
There are no files selected for viewing
6 changes: 3 additions & 3 deletions
6
db/migrations/1721761856231-migration.ts → db/migrations/1721827066728-migration.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
export const USER_CREATED_SUCCESSFULLY = 'User Created Successfully'; | ||
export const FAILED_TO_CREATE_USER = 'Error Occured while creating user, kindly try again'; | ||
export const ERROR_OCCURED = 'Error Occured Performing this request'; | ||
export const USER_ACCOUNT_EXIST = "Account with the specified email exists" | ||
export const UNAUTHENTICATED_MESSAGE = "User is currently unauthorized, kindly authenticate to continue" | ||
export const USER_ACCOUNT_EXIST = 'Account with the specified email exists'; | ||
export const UNAUTHENTICATED_MESSAGE = 'User is currently unauthorized, kindly authenticate to continue'; | ||
export const USER_NOT_FOUND = 'User not found!'; | ||
export const INVALID_PASSWORD = 'Invalid password'; | ||
export const TWO_FA_INITIATED = '2FA setup initiated'; | ||
export const TWO_FA_ENABLED = '2FA is already enabled'; | ||
export const BAD_REQUEST = 'Bad Request'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
export type UpdateRecordGeneric<IdentifierOptions, UpdateRecordPayload> = { | ||
updatePayload: UpdateRecordPayload; | ||
identifierOptions: IdentifierOptions; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.