vjudge: luogu: wait for csrf token before submit

This commit is contained in:
undefined committed 2022-01-12 15:53:40 +08:00
1 parent b1c63ddd6c
commit ca55695498
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -80,7 +80,7 @@ export default class LuoguProvider implements IBasicProvider {
async ensureLogin() {
if (await this.loggedIn) {
this.getCsrfToken('/');
await this.getCsrfToken('/');
return true;
}
logger.info('retry login');