This PR make necessary changes to implements a login view for Instructors.
A new function has been created to process the student login (reusing pow functions). In this way, we will avoid that if a student tries to log in with wrong credentials, the same view will be reloaded and will not be redirected to /session, as this would show the instructor's login.
In addition, the student login has been moved so that it can be accessed by clicking on the application logo in the top left margin and some minor styling changes are made.
MER-3297
This PR make necessary changes to implements a login view for
Instructors
.A new function has been created to process the student login (reusing pow functions). In this way, we will avoid that if a student tries to log in with wrong credentials, the same view will be reloaded and will not be redirected to
/session
, as this would show the instructor's login.In addition, the student login has been moved so that it can be accessed by clicking on the application logo in the top left margin and some minor styling changes are made.
https://github.com/Simon-Initiative/oli-torus/assets/16328384/924e455e-0d59-4945-8622-513fd7706a71