Hide the Forgot Password button

What this does

Your app’s login screen shows a Forgot Password? link by default, so users
can reset a forgotten password and get back into their account. For most apps
that is exactly what you want.

But some apps don’t use passwords at all — they sign people in with a one-time
code, or with Apple and Google sign-in. On those apps a “Forgot Password” link
is confusing, because there’s no password to recover. MAM Suite lets you hide
that link with a single toggle.

This is a global setting: when you turn it on, the link is hidden for everyone,
on every device, the next time the app loads its settings.


Before you start

  • You need admin access to the Mobile App Manager for your app.
  • This setting only touches the Forgot Password? link. It doesn’t change
    how login itself works — it won’t disable password login or switch on
    code-based login. It just hides one link.
  • This is worth doing if your app runs on code-based or social login only. But
    if users can still sign in with an email and password, leave the link
    visible so they always have a way to recover their account.

Steps

  1. In WordPress, open the Mobile App Manager and go to your app’s settings.
  2. Find the Login button (the Login content element) and open its settings.
    Its options are grouped under Login Settings.
  3. Locate the Hide Forgot Password Button option. It’s a simple Yes / No
    toggle.
  4. Set it to Yes to hide the link. (Setting it to No — the default —
    keeps the link visible.)
  5. Save your settings.

You’ll see the change the next time the app refreshes its settings. Reopen the
app, head to the login screen, and confirm the Forgot Password? link is
gone.

Note: Exactly where the Login settings sit in the admin can shift depending
on your app’s layout. If you don’t spot the Hide Forgot Password Button
toggle right away, check wherever your app’s other Login screen options
live — logos, button titles, terms and conditions, and the like — it sits
right alongside them.


When to use this

Good fits:

  • Code-only login — users sign in with a one-time code instead of a password,
    so there’s nothing to “forget.”
  • Social-only login — users sign in with Apple or Google, which handle their
    own password recovery outside your app.
  • Apps where you want to keep the login screen as minimal as possible.

Leave it visible when:

  • Users can still sign in with an email and password. Hiding the link takes
    away their self-service way to recover an account, and that usually means
    more support requests land in your inbox.

These options live alongside Hide Forgot Password Button in the Login
settings and shape the rest of the login experience:

  • Require Login? — whether users must sign in before reaching any content.
  • Allow user to sign up with Email — enables email-based account creation.
  • Allow user to sign up with Apple and Google — enables social sign-in.
  • Login Button Title / Signup Button Title — the wording on the login
    screen’s buttons.
  • Top Logo, Terms and Conditions Message / URL — the rest of the login
    screen’s branding and legal text.

Reference

Field Value
Setting label Hide Forgot Password Button
Setting variable login_hide_lost_password
Type Yes / No
Scope Global (applies to all users and roles)
Default No (the Forgot Password link is shown)
Defined in mam-main/includes/content-classes/local-app-login-class.php

Verification

This article was last verified against:

  • Source: mam-main/includes/content-classes/local-app-login-class.php
    (the app_settings() method on the local_app_login_button class, which
    defines the login_hide_lost_password Yes / No setting)

Re-verify if the setting’s label, variable name, type, or default changes, or
if the Login settings are reorganized in the admin UI.

Was this article helpful?
Contents

    Need Support?

    Can't find the answer you're looking for? Don't worry we're here to help!