Simon-Initiative / oli-torus

Next Generation OLI Authoring and Delivery Platform
https://proton.oli.cmu.edu
MIT License
83 stars 35 forks source link

[FEATURE] [MER-3297] Direct delivery instructor sign in account creation #4960

Closed simonchoxx closed 1 month ago

simonchoxx commented 2 months ago

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