forgot password in login page and account info implemented, sms.ir service works fine with sandbox key.
This commit is contained in:
@@ -12,6 +12,7 @@ export interface AuthResponse {
|
||||
|
||||
export interface TrialRegistrationData {
|
||||
email: string;
|
||||
mobile: string;
|
||||
password: string;
|
||||
name: string;
|
||||
organizationName: string;
|
||||
@@ -24,3 +25,12 @@ export interface LoginData {
|
||||
password: string;
|
||||
rememberMe?: boolean;
|
||||
}
|
||||
|
||||
export interface ForgotPasswordVerifyResponse {
|
||||
success: boolean;
|
||||
data: {
|
||||
user: AuthResponse['data']['user'];
|
||||
organizations: AuthResponse['data']['organizations'];
|
||||
redirectTo: string;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -3,6 +3,7 @@ export interface User {
|
||||
email: string;
|
||||
name: string;
|
||||
language?: string;
|
||||
mobile?: string | null;
|
||||
}
|
||||
|
||||
export interface OrganizationPlan {
|
||||
|
||||
Reference in New Issue
Block a user