It need not be very complicated. You can simply create a pattern like 2018-09-07-ABC (suffix of ABC) for the date 2018-09-07.
Set up the password creation/validation logic like password = md5('2018-09-07-ABC').
An administrator if they know the pattern, they can anytime goto any online md5 utility such as http://www.md5.cz and enter the pattern for current date.
Say for example today is December 25, 2018. Then they will enter 2018-12-25-ABC and the hash will be b21746c6db1c5323f28dd874fe60165f
TIP: You do not need to use entire 32 character password. Using first 8 characters (or any desired length) would be easier.
Sample PHP Code the generate password of length 8:
$md5hash = md5(date('Ymd') . '-ABC');
$password = substr($md5hash, 0, 8);
Note: Take care of the timezone being used at the server when generating the password.
Related Posts:
- Sending the reset password link programatically
- Enforcing password complexity
- Create a global variable for use in all templates
- Integrating WordPress to my website, while keeping my own authentication system
- Display user’s total comment count outside The Loop
- Change Password Hint
- Changing user_nicename
- How to auto login user again after change user_login
- Can i check if user is doing any ajax request?
- How do I create a WP user outside of WordPress and auto login?
- Showing user ID on user main page from screen options
- Getting the Current User
- How to track a users progress through pages by inserting data into WordPress Database?
- automated tests as a user?
- Go to / Scroll to Password Field on WordPress Posts After Submit With Message(s)
- there’s a way to include a minimal WP for check only the current user, its roles (caps?) and then release/free it?
- Delete option value from array using update_option()
- Password protecting content in custom template
- How to filter/hook-into retrieve_password() to filter $_POST[‘user_login’]?
- Warning: Use of undefined constant HTTP_USER_AGENT – assumed ‘HTTP_USER_AGENT’ (this will throw an Error in a future version of PHP)
- Get all user meta by meta key instead of ID
- User’s total comment count excluding comments on their own posts
- User management system similar to wordpress one?
- Show all posts by author
- Programmatic Login from 3rd Party site
- Add New User, extra fields which are required?
- user_profile_update_errors hook not executing
- Modify user profile data through scripting?
- Get users that likes the post
- custom user role wordpress – grant guest access to edit.php without insert/update/delete
- Do not execute If User is login as Administrator or any Specific Role
- Best practice for show data to one specific user?
- get_users meta_query: REGEXP not working for matching new lines
- How to show a users bio on a page
- “operation successful” message
- php if username is role
- How do you create two separate Register pages?
- Is it possible to create new user from external form using REST API?
- Foreach loop inside an array_merge
- Show current user posts only
- How do I create a function that modifies a message in the wp-login.php file?
- WordPress produces identical hash all the time
- show something only when user comes from specific page at remote host?
- Show site content based on user role
- ‘pre_user_query’ interfering with user export
- php return username of currently viewed author profile
- How to list users like an archive page 10 users on page and have navigations
- How can I call a specific file (via php) by referencing the logged-in username?
- Redirect to current user page upon link click
- Remove password protection from all posts
- Use of antispambot with $curauth->email
- Display additional user fields
- Generate a QR code when creating a new WordPress user
- Sort new column in Users wp-admin
- Sort column in Users admin Tab
- Woocommerce display orders with products from specific categories to specific admins
- Admin Panel 404 Error after login
- How to block specific user id in custom login form?
- How to count active users on a specific page
- how can I call a function when time expire
- Hide Approved status for certain users in users list
- Call WP Rest-Api to GET /users/me returned NOTHING in console
- If user has clicked link add class and store using PHP/WordPress
- Store data from JavaScript object to custom table in user account
- Export WordPress User Meta to CSV/Excel
- Allow specific user to edit a specific page
- How to change the value of a variable using input field?
- How do I track which user clicked my button?
- Help hooking into user_register
- Redirecting the lost password page request when using a custon login page
- Use WP user status (logged_in) to manage access to independent application
- Query to show average # of months all accounts with specific role have been active
- is_user_logged_in() not working in homepage
- wordpress more than one ajax request at the same time issue
- (Who to follow) Twitter widget
- Editable Student file associated with basic User ID
- Adding users to another blog
- Issue encountered while trying to keep website private
- Changing WordPress author name in database
- Matching multi user
- Private messaging – Getting and displaying the avatar/url of a message recipient
- Updating custom user meta
- Loop 1 user randomly
- Update only some custom user fields
- List users in a dropdown for login
- Trying to display user meta by “name” – not by “ID”
- main menu page redirects to user ID
- Adapting a php array to WordPress
- Get author meta of all writers
- Let users register weight each day and save it in DB
- Password form redirection to belonging post
- Cross origin ajax request always returns 0 when calling get_current_user_id();
- Parse error: syntax error, unexpected ‘}’ in C:\wamp64\www\Proiect\aplicatie\user_check.php on line 18 [closed]
- Forbid certain users to access a specific page
- One folder to be accessible by one user
- rest_cannot_create_user – Sorry, you are not allowed to create new users. CURL WORDPRESS REST API
- How to create custom user role without plugin?
- PHP Works only for logged in users: [closed]
- Custom Admin Menu Report for Specific User ID
- How to send user password reset link to their phone number instead of email