forgot password in login page and account info implemented, sms.ir service works fine with sandbox key.
This commit is contained in:
@@ -46,6 +46,10 @@ export interface Config {
|
||||
ttl: number;
|
||||
limit: number;
|
||||
};
|
||||
sms: {
|
||||
apiKey: string | null;
|
||||
templateId: number;
|
||||
};
|
||||
}
|
||||
|
||||
export default (): Config => {
|
||||
@@ -100,5 +104,9 @@ export default (): Config => {
|
||||
ttl: getEnvVarAsNumber('THROTTLE_TTL', 60),
|
||||
limit: getEnvVarAsNumber('THROTTLE_LIMIT', 100),
|
||||
},
|
||||
sms: {
|
||||
apiKey: process.env.SMS_IR_API_KEY?.trim() || null,
|
||||
templateId: getEnvVarAsNumber('SMS_IR_TEMPLATE_ID', 123456),
|
||||
},
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user