Short problem description
When logging in using the API via the /sessions route, correct credientials are provided, but the following error is returned:
{
"code": 500,
"message": "An exception occurred while executing 'INSERT INTO phplist_admintoken (expires, value, adminid) VALUES (?, ?, ?)' with params [\"2017-12-04 15:09:49\", \"15574d49a0c75ff3f2f498e92ec9ca46\", 1]:\n\nSQLSTATE[HY000]: General error: 1364 Field 'entered' doesn't have a default value"
}
Steps to reproduce
- Install using base-distribution via composer
- Attempt to log in using Postman and the REST API using valid credentials, and an existing phpList 3 database
Expected behaviour
Login successful, token info is returned
Actual behaviour
Exception is returned
