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

Unable to login from lesson page #3150

Open
AlecRust opened this issue May 13, 2020 · 1 comment · May be fixed by #3299
Open

Unable to login from lesson page #3150

AlecRust opened this issue May 13, 2020 · 1 comment · May be fixed by #3299
Labels

Comments

@AlecRust
Copy link

Steps to Reproduce

  1. Go to a Course page as a guest user - see Login link
  2. Go to a Lesson page as a guest user - only see link to sign up for course

What I Expected

When visiting a lesson page as a guest user (for example user is sent a direct link to this week's lesson utilising Content Drip plugin) I would expect to see a link to allow me to login to access the lesson.

What Happened Instead

Instead I am presented with suggestion to sign up for the course from the course page.

To be clear: on the Course page there is a useful link to login, but not on the Lesson page.

PHP / WordPress / Sensei LMS version

PHP: 7.0.21
WordPress: 5.4.1
Sensei: 3.0.1

Browser / OS version

macOS 10.15.4

Screenshot / Video

screenshot

Context / Source

I can use sensei_single_lesson_content_inside_before to add an additional alert here, but this is also confusing for the user having two conflicting alerts.

@donnapep
Copy link
Collaborator

donnapep commented Mar 1, 2021

As a solution to this, we should consider enabling the Take Course block on the lesson page. If the user is not logged in, clicking on the button is already programmed to take them directly to the login page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants