Skip to content

User full name shown as if it was the username in header #35

@rlaiola

Description

@rlaiola

What is this issue about?

The User Interface (UI) shows the user full name instead of the username.

Screen Shot 2023-09-25 at 15 37 27

Screen Shot 2023-09-25 at 15 38 12

The problem occurs in the following files:

https://github.com/cassiopc/boca/blob/master/src/admin/header.php#L65
https://github.com/cassiopc/boca/blob/master/src/judge/header.php#L69
https://github.com/cassiopc/boca/blob/master/src/score/header.php#L51
https://github.com/cassiopc/boca/blob/master/src/staff/header.php#L54
https://github.com/cassiopc/boca/blob/master/src/system/header.php#L51
https://github.com/cassiopc/boca/blob/master/src/team/header.php#L54

How to test it?

git clone --branch test_master https://github.com/rlaiola/boca.git
cd boca
# Launch application (it may take a while)
docker compose up -d
# Open a web browser and visit the URL http://localhost:8000/boca.
# First, create and activate a BOCA contest (user: system | password: boca).
# Then, login as admin (user: admin | password: boca).
# To stop the application:
docker compose down

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions