Skip to content

Commit

Permalink
Merge pull request #566 from credebl/merge-dev-to-qa
Browse files Browse the repository at this point in the history
merge: develop to QA
  • Loading branch information
nishad-ayanworks authored Feb 8, 2024
2 parents fd3df5b + e92dbd5 commit f7dba45
Show file tree
Hide file tree
Showing 6 changed files with 407 additions and 380 deletions.
30 changes: 30 additions & 0 deletions src/api/Auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,36 @@ export const sendVerificationMail = async(payload:UserSignUpData) => {
}
}

export const resetPassword = async(payload: { password: string; token: string | null }, email: string | null) => {
const details = {
url: `${apiRoutes.auth.resetPassword}/${email}`,
payload
}
try{
const response = await axiosPost(details)
return response
}
catch(error){
const err = error as Error
return err?.message
}
}

export const forgotPassword = async(payload: {email: string}) => {
const details = {
url: apiRoutes.auth.forgotPassword,
payload
}
try{
const response = await axiosPost(details)
return response
}
catch(error){
const err = error as Error
return err?.message
}
}

export const loginUser = async(payload: UserSignInData) => {
const details = {
url: apiRoutes.auth.sinIn,
Expand Down
4 changes: 4 additions & 0 deletions src/common/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,10 @@ ul.timelinestatic {
@apply dark:!text-white !text-primary-700 w-fit;
}

.email-bulk-issuance .select__single-value{
width: calc(100% - 15px) !important;
}

.select__value-container
.select__value-container--has-value
.select__single-value {
Expand Down
Loading

0 comments on commit f7dba45

Please sign in to comment.