fix e2e
This commit is contained in:
@@ -79,7 +79,7 @@ export class LandingService {
|
||||
const signupParams: SignupParamsDTO = {
|
||||
email,
|
||||
password: 'temp_password_' + Math.random().toString(36).substring(7), // Temporary password
|
||||
displayName: email.split('@')[0], // Use email prefix as display name
|
||||
displayName: email.split('@')[0] || 'user', // Use email prefix as display name, fallback to 'user'
|
||||
};
|
||||
|
||||
const session: AuthSessionDTO = await this.authApi.signup(signupParams);
|
||||
|
||||
Reference in New Issue
Block a user