mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: add confirm dialog (#226)
This commit is contained in:
1 parent
8b9a3c6410
commit
c696f51789
15 files changed
+46
-32
No files matched your search
@@ -11,7 +11,7 @@ import * as setting from 'hydrooj/src/model/setting';
|
||||
import { IBasicProvider, RemoteAccount } from '../interface';
|
||||
|
||||
proxy(superagent);
|
||||
const logger = new Logger('codeforces');
|
||||
const logger = new Logger('remote/codeforces');
|
||||
|
||||
const VERDICT = {
|
||||
RUNTIME_ERROR: STATUS.STATUS_RUNTIME_ERROR,
|
||||
@@ -100,7 +100,6 @@ export default class CodeforcesProvider implements IBasicProvider {
|
||||
password: this.account.password,
|
||||
remember: 'on',
|
||||
});
|
||||
console.log(res.header);
|
||||
const cookie = res.header['set-cookie'];
|
||||
if (cookie) {
|
||||
await this.save({ cookie });
|
||||
|
||||
Reference in new issue
Block a user