mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-01 04:40:38 +08:00
增加上次登录状态
This commit is contained in:
@@ -91,7 +91,10 @@ export default class AuthService {
|
||||
twoFactorChecked: false,
|
||||
}),
|
||||
);
|
||||
return { code: 200, data: { token, lastip, lastaddr, lastlogon } };
|
||||
return {
|
||||
code: 200,
|
||||
data: { token, lastip, lastaddr, lastlogon, retries },
|
||||
};
|
||||
} else {
|
||||
fs.writeFileSync(
|
||||
config.authConfigFile,
|
||||
|
||||
Reference in New Issue
Block a user