Describe your issue
The page title (document.title) does not update when switching from the OTP entry view back to the Password login view on the login page.
When the user is on the login page, the title initially shows "Hello! Welcome back". After clicking "Login with OTP" and requesting an OTP, the title changes to "Enter OTP". However, when the user clicks "Login with Password" to switch back, the title remains "Enter OTP" instead of reverting to "Hello! Welcome back".
Actual Result:
Page title stays as "Enter OTP" even after switching back to the Password login view.
Environment:
Steps to reproduce
- Navigate to https://app.mulearn.org/login
- Observe the page title shows "Hello! Welcome back"
- Click "Login with OTP" link
- Click "Request OTP" button
- Observe the page title changes to "Enter OTP"
- Click "Login with Password" link to switch back
- Observe the page title still shows "Enter OTP" instead of "Hello! Welcome back"
What was the expected result?
The page title should dynamically update based on the current login view. When switching from OTP view back to Password view, the title should change from "Enter OTP" back to "Hello! Welcome back". The title should always reflect the current view/state of the login page.
Put here any screenshots or videos (optional)
Would you like to work on this issue?
None
Describe your issue
The page title (document.title) does not update when switching from the OTP entry view back to the Password login view on the login page.
When the user is on the login page, the title initially shows "Hello! Welcome back". After clicking "Login with OTP" and requesting an OTP, the title changes to "Enter OTP". However, when the user clicks "Login with Password" to switch back, the title remains "Enter OTP" instead of reverting to "Hello! Welcome back".
Actual Result:
Page title stays as "Enter OTP" even after switching back to the Password login view.
Environment:
Steps to reproduce
What was the expected result?
The page title should dynamically update based on the current login view. When switching from OTP view back to Password view, the title should change from "Enter OTP" back to "Hello! Welcome back". The title should always reflect the current view/state of the login page.
Put here any screenshots or videos (optional)
Would you like to work on this issue?
None