Email Available

Whether email-OTP login can be served right now.

True iff Resend/SMTP is configured AND OTP_TTL_SECONDS > 0 (latter is constant; included for symmetry with sms_available()). The SPA's LoginForm hides the "use a code instead" link when this returns False so the password row stays the only path.

get/api/auth/email/available

Request

  • Base URL: https://api.omicos.cn (the document declares no server; this is the origin it was published from)
  • URL: https://api.omicos.cn/api/auth/email/available
  • Auth: none declared

Response

Successful Response

object required

Changes

No recorded changes to this operation across all 19 revisions of this API.