-
- Downloads
Removed registration form, cleaned up login flow (#3821)
Fixes #3813. Main changes: - [x] Got rid of the registration form in favor of using the `/auth/` view. Having two places where the user can potentially register is confusing. - [x] Cleaned up different aspects of the login flow that were mentioned in #3813, like inconsistency in terminology (`Login` vs `Log in`), removal of buttons where they don't need to be, etc. - [x] Added a button on the password-ed login to bring the user back to the passwordless log in/register view. - [x] Have buttons in column rather than row on *both* mobile & desktop view and made them the same width (`18 rem`). - Should we center the login page for desktop? This was done as it felt awkward to have everything on the left side while the buttons crept to the center - [x] Added icons to `Log in with <ORG> email` & `Log in or register via email` for consistency - [x] Moved login buttons to their own templates as some were being reused - [x] Added missing translation blocks
Showing
- hypha/apply/users/forms.py 1 addition, 1 deletionhypha/apply/users/forms.py
- hypha/apply/users/services.py 2 additions, 2 deletionshypha/apply/users/services.py
- hypha/apply/users/templates/users/login.html 17 additions, 20 deletionshypha/apply/users/templates/users/login.html
- hypha/apply/users/templates/users/password_reset/form.html 1 addition, 7 deletionshypha/apply/users/templates/users/password_reset/form.html
- hypha/apply/users/templates/users/passwordless_login_signup.html 10 additions, 19 deletions...pply/users/templates/users/passwordless_login_signup.html
- hypha/apply/users/templates/users/register.html 0 additions, 45 deletionshypha/apply/users/templates/users/register.html
- hypha/apply/users/tests/test_registration.py 0 additions, 71 deletionshypha/apply/users/tests/test_registration.py
- hypha/apply/users/urls.py 0 additions, 6 deletionshypha/apply/users/urls.py
- hypha/apply/users/views.py 2 additions, 62 deletionshypha/apply/users/views.py
- hypha/static_src/sass/components/_link.scss 15 additions, 0 deletionshypha/static_src/sass/components/_link.scss
- hypha/templates/base-apply.html 2 additions, 9 deletionshypha/templates/base-apply.html
- hypha/templates/includes/login_button.html 2 additions, 2 deletionshypha/templates/includes/login_button.html
- hypha/templates/includes/org_login_button.html 8 additions, 0 deletionshypha/templates/includes/org_login_button.html
- hypha/templates/includes/password_login_button.html 8 additions, 0 deletionshypha/templates/includes/password_login_button.html
- hypha/templates/includes/passwordless_login_button.html 8 additions, 0 deletionshypha/templates/includes/passwordless_login_button.html
- hypha/templates/includes/register_button.html 0 additions, 4 deletionshypha/templates/includes/register_button.html
Loading
Please register or sign in to comment