Skip to content

Remove demo credentials from default landing page #5150

@saiful-semantic

Description

@saiful-semantic

Describe the bug

A vanilla installation of DSpace Angular displays demo user credentials on the landing page. These credentials are intended for the official demo site but appear in a standard installation where the accounts do not exist.

Displayed content:

The test user accounts below have their password set to the name of this software in lowercase.

    Demo Site Administrator = dspacedemo+admin@gmail.com
    Demo Community Administrator = dspacedemo+commadmin@gmail.com
    Demo Collection Administrator = dspacedemo+colladmin@gmail.com
    Demo Submitter = dspacedemo+submit@gmail.com

This is misleading in a clean install and gives the impression of insecure default credentials.

Observed in: All versions DSpace Angular


To Reproduce

  1. Perform a standard (vanilla) DSpace backend + Angular UI installation.
  2. Start the Angular frontend.
  3. Open the landing page.
  4. Observe the demo credential block displayed.

Expected behavior

A default installation should not display demo credentials.

Demo-specific content should only appear in the official demo environment or behind an explicit demo configuration.


Related work

None known.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    👀 Needs Discussion / Analysis

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions