-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
I created a model "Account" which extended from "User", I defined the property "ttl" like this:
{
"name": "Account",
"plural": "accounts",
"base": "User",
"Model": {
"Master": "master"
},
"ttl": 31449600,
"properties": {
"cellphone": {
"type": "string",
"required": true
}
},
"relations": {
"accessTokens": {
"type": "hasMany",
"model": "AccessToken",
"foreignKey": "accountId"
}
}
...
}
But when I use "Account.login" with given username and password , the responses' "ttl" has not been set to 31449600, which is still 1209600.
Is it a bug?
The max value the ttl can set is 31556926.
Metadata
Metadata
Assignees
Labels
No labels