Hi all, I have a problem here: after i install magento2, i can't log in to admin and magento shows me message "Your current session has been expired". How can i fix this ? Thank you a lot
You can run query from phpmyadmin,
UPDATE core_config_data SET value = 864000 WHERE path = 'admin/security/session_lifetime'
Please check your backend with,
"Stores > Configuration > Advance > Admin > Security" and change value of "Admin Account Sharing" to "Yes".
Other tricks are using phpmyadmin,
admin_user_session table in MySql Set created_at column to ‘0’ and updated_at column to ‘CURRENT_TIMESTAMP’
It looks like your account is using by multiple users , meaning using single account more than one people are able to logged in to your website.
So if you wanted to allowed this you need to do below settings from Magento 2 Admin panel.
Got to -> Stores > Configuration > Advance > Admin > Security" and change value of "Admin Account Sharing" to "Yes".
so it will allowed this, Second option should be change the password of your username.
it will resolved the issue !
Hope it helps