|
|
@@ -18,7 +18,7 @@ public class UserAutoLogOut extends BaseClass implements Runnable {
|
|
|
@Override
|
|
|
public void run() {
|
|
|
try {
|
|
|
- if (new SQLiteJDBC().checkServicesUsed("UserAutoLogOut",false)) {
|
|
|
+ if (new SQLiteJDBC().checkServicesUsed("UserAutoLogOut", false)) {
|
|
|
accountExpiration();
|
|
|
}
|
|
|
} catch (Exception e) {
|
|
|
@@ -35,7 +35,7 @@ public class UserAutoLogOut extends BaseClass implements Runnable {
|
|
|
Rows rows = dbConnect.runSqlQuery(factory.getSQL());
|
|
|
ArrayList<String> sqllist = new ArrayList<>();
|
|
|
for (Row row : rows) {
|
|
|
- String userid = row.getString("userid");
|
|
|
+ long userid = row.getLong("userid");
|
|
|
if (parameter.userIdList.containsKey(userid)) {
|
|
|
String token = parameter.userIdList.get(userid).getString("token");
|
|
|
parameter.tokenlist.remove(token);
|