-
Notifications
You must be signed in to change notification settings - Fork 71
Closed
Description
Related project scope(s): exercise UI
Bug description
- As a user
- When I am disconnected from a learn-ocaml instance
- And I paste a complete exercice URL such as https://localhost:8080/exercises/demo/
- Then I unexpectedly see the question
Enter the secret(to create a new account) instead of a more sensible question such asEnter your token.
To reproduce
Steps to reproduce the behavior:
- Add a file
demo-repository/server_config.jsoncontaining:{ "secret": "MDP" } - Run a learn-ocaml instance, e.g.
cd ……/learn-ocaml && learn-ocaml build serve --repo=demo-repository - Open a fresh browser instance (e.g., private browsing mode)
- Go to https://localhost:8080/exercises/demo/
- Then notice the question
Enter the secret
Expected behavior
- Get the question
Enter your token
Optional screenshots
Current configuration
- OS name (and version): N/A
- Browser name (and version): N/A
learn-ocaml --version: 0.14.0
