redhat-beyond / JobSeeker

https://github.com/redhat-beyond/JobSeeker
MIT License
2 stars 5 forks source link

:horse_racing: Login page: Indicating the user if it is already logged in #118

Closed amittcohen closed 2 years ago

amittcohen commented 2 years ago

In case a user is already logged in and tries to access the login page, instead of seeing the login form - it will get a message indicating that it is already logged in.

Yarboa commented 2 years ago

Create a test for a user trying this.

+1. please modify login tests have some idea https://github.com/redhat-beyond/beyond-tutorial/blob/main/msgboard/tests.py#L59

amittcohen commented 2 years ago

@Yarboa @kasemAlem Rebased to new form design

Yarboa commented 2 years ago

@Yarboa @kasemAlem Rebased to new form design

@amittcohen Is there a test some where? to check logout?

Yarboa commented 2 years ago

@Yarboa @kasemAlem Rebased to new form design

@amittcohen Is there a test some where? to check logout?

There is a test here https://github.com/redhat-beyond/JobSeeker/blob/main/login/tests.py#L26