Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it easier for students to sign in with word / picture passwords #14047

Merged
merged 4 commits into from
Mar 28, 2017

Conversation

ewjordan
Copy link
Contributor

See https://codeorg.axosoft.com/viewitem?id=642&type=features&force_use_number=true

From Josh S: In regards to joining sections, it's difficult for younger students to have to type in the full URL of studio.code.org/sections/ABCDEF. We have many requests to make this easier for students. It's almost ironic in that picture/word-based sections are meant to be easier, when it's in fact easier to visit code.org/join and enter a 6-character code - but that only works for email-based sections.

Spec (new behavior):
If you are signed out and the section is a word / picture type:
We should take you the page where you can log in with your word / picture password.

@ewjordan ewjordan requested a review from wjordan March 28, 2017 22:05

# if this is a picture or word section, redirect to the section login page so that the student
# does not have to type in the full URL
if @section && (@section.login_type == Section::LOGIN_TYPE_PICTURE || @section.login_type == Section::LOGIN_TYPE_WORD)
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: My preference is for [Section::LOGIN_TYPE_PICTURE, Section::LOGIN_TYPE_WORD].include? @section.login_type.

@ewjordan ewjordan merged commit a9dec7e into staging Mar 28, 2017
@ewjordan ewjordan deleted the redirect-picture-and-word-logins branch March 28, 2017 23:05
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.

None yet

3 participants