How OTP login works
Phone number
The visitor enters their number; the format is validated first.
Code is sent
A 4 to 8 digit code is sent through your SMS panel using your approved message pattern, with a validity time you can configure.
Verify and sign in
As soon as the full code is entered it is checked automatically; existing users sign in and new visitors get an account.
Supported SMS panels
Codes are sent with a message pattern (a service line template), so they arrive quickly and reliably:
- Melipayamak: free and Pro versions
- Faraz SMS, Kavenegar, SMS.ir, FaraPayamak, PayamResan and LimoSMS: Pro version
- A custom web service with configurable headers, request body and response rules, so other providers that expose an HTTP API can be connected too (use the connection test to verify yours): Pro version
Each panel has a connection and balance test that does not send an SMS, and a setup guide sits next to its settings.

A backup SMS panel for reliability
If the primary panel fails with a definite error, the visitor should not be locked out. In Pro you define a second panel and a retry delay, and the same code is sent through the second route. A dedicated report shows the message ID, the panel that sent it and the latest delivery status; delivery polling for Faraz SMS and Melipayamak runs every 20 seconds.

Stop SMS bombing
Every SMS costs money, and bots can drain your balance with repeated requests. Vorodyar prevents it:
- Request caps per browser, per IP and per phone number
- A mandatory gap between two sends, with a resend timer in the form
- A captcha before the code is sent, if you want one
- Temporary blocking after repeated wrong codes
Alternatives to SMS
If you do not want every sign-in to cost an SMS, email codes and username and password are active in the free version. Pro adds Google sign-in, Telegram sign-in and a 4-digit code through the Bale messenger. See the full list in WordPress login plugin.
Frequently asked questions
What is a message pattern and why is it needed?
A pattern is a pre-approved message template at your SMS provider in which only the code changes. Pattern messages are sent from a service line, arrive quickly and are delivered to subscribers who block promotional messages.
Who pays for the SMS messages?
Messages are sent from your own SMS panel account, so the cost is billed by your provider, separately from the plugin.
Is the code filled in automatically?
In browsers that support WebOTP, such as Chrome on Android, yes. In other browsers the visitor types the code and the form verifies it automatically as soon as it is complete.
Can visitors from other countries sign in?
The built-in SMS providers are Iranian panels. For international audiences, email codes, Google sign-in and Telegram sign-in are the better options, or you can connect an international SMS provider through the custom web service in Pro.
