mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 22:30:31 +00:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
06b8a836c5 | ||
|
|
37fa9f9bc6 |
@@ -20,7 +20,7 @@ export class AuthenticationMailMesssages {
|
|||||||
* @returns {Mail}
|
* @returns {Mail}
|
||||||
*/
|
*/
|
||||||
resetPasswordMessage(user: ModelObject<SystemUser>, token: string) {
|
resetPasswordMessage(user: ModelObject<SystemUser>, token: string) {
|
||||||
const baseURL = this.configService.get('baseURL');
|
const baseURL = this.configService.get('app.baseUrl');
|
||||||
|
|
||||||
return new Mail()
|
return new Mail()
|
||||||
.setSubject('Bigcapital - Password Reset')
|
.setSubject('Bigcapital - Password Reset')
|
||||||
@@ -54,7 +54,7 @@ export class AuthenticationMailMesssages {
|
|||||||
* @returns {Mail}
|
* @returns {Mail}
|
||||||
*/
|
*/
|
||||||
signupVerificationMail(email: string, fullName: string, token: string) {
|
signupVerificationMail(email: string, fullName: string, token: string) {
|
||||||
const baseURL = this.configService.get('baseURL');
|
const baseURL = this.configService.get('app.baseUrl');
|
||||||
const verifyUrl = `${baseURL}/auth/email_confirmation?token=${token}&email=${email}`;
|
const verifyUrl = `${baseURL}/auth/email_confirmation?token=${token}&email=${email}`;
|
||||||
|
|
||||||
return new Mail()
|
return new Mail()
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ export class SendInviteUsersMailMessage {
|
|||||||
) {
|
) {
|
||||||
const tenant = await this.tenancyContext.getTenant(true);
|
const tenant = await this.tenancyContext.getTenant(true);
|
||||||
const root = path.join(global.__images_dirname, '/bigcapital.png');
|
const root = path.join(global.__images_dirname, '/bigcapital.png');
|
||||||
const baseURL = this.configService.get('baseURL');
|
const baseURL = this.configService.get('app.baseUrl');
|
||||||
|
|
||||||
const mail = new Mail()
|
const mail = new Mail()
|
||||||
.setSubject(`${fromUser.firstName} has invited you to join a Bigcapital`)
|
.setSubject(`${fromUser.firstName} has invited you to join a Bigcapital`)
|
||||||
|
|||||||
Reference in New Issue
Block a user