Skip to content

add login form#77

Open
DjesikaV wants to merge 3 commits into
mainfrom
bug/59-fix-login-functionality
Open

add login form#77
DjesikaV wants to merge 3 commits into
mainfrom
bug/59-fix-login-functionality

Conversation

@DjesikaV

Copy link
Copy Markdown
Contributor

Changes:

  • Added a login view and login form.
  • Connected the “Вход” navigation link to open the login view.
  • Added username and password input handling.
  • Added basic frontend validation for empty username and password fields.
  • Added local login state handling through LoginAuthService.
  • Redirected users to the home view after successful login.
  • Connected “Изход” navigation link to clear login state and return to home.
    The frontend login flow is ready for now. It handles local login state, but the real credential checking should be handled by the backend.

@DjesikaV
DjesikaV requested a review from a team as a code owner June 22, 2026 13:07

@DrDeathDrop DrDeathDrop left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why use localStorage AND isLoggedIn to store whether the user has logged in, when we can use only one of them.

@PIPetkova19 PIPetkova19 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't build projectImage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants