refactor: unify domain and contact emails to canina.ir across all apps and seeds
Deploy Canina / deploy (push) Successful in 1m55s
Deploy Canina / deploy (push) Successful in 1m55s
This commit is contained in:
1 parent
bc011f4407
commit
6eb45cd467
33 files changed
+662
-665
No files matched your search
@@ -261,7 +261,7 @@ export class AuthService {
|
||||
}
|
||||
|
||||
async adminLogin(body: AdminLoginInput) {
|
||||
const adminEmail = process.env.ADMIN_EMAIL || 'admin@canina-iran.com';
|
||||
const adminEmail = process.env.ADMIN_EMAIL || 'admin@canina.ir';
|
||||
const adminPassword = process.env.ADMIN_PASSWORD || 'admin123';
|
||||
|
||||
// First check database for user with role 'Admin' or 'SUPER_ADMIN'
|
||||
|
||||
@@ -2,7 +2,7 @@ import { IsEmail, IsNotEmpty, IsString, MinLength } from 'class-validator';
|
||||
import { ApiProperty } from '@nestjs/swagger';
|
||||
|
||||
export class AdminLoginDto {
|
||||
@ApiProperty({ description: 'ایمیل ادمین', example: 'admin@canina-iran.com' })
|
||||
@ApiProperty({ description: 'ایمیل ادمین', example: 'admin@canina.ir' })
|
||||
@IsEmail({}, { message: 'فرمت ایمیل وارد شده معتبر نمیباشد.' })
|
||||
@IsNotEmpty({ message: 'ایمیل الزامی است.' })
|
||||
email!: string;
|
||||
|
||||
Reference in new issue
Block a user