mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-21 08:38:37 +00:00
mod: csrf
This commit is contained in:
@@ -61,11 +61,6 @@ class Request {
|
||||
}
|
||||
}
|
||||
|
||||
// 从cookie中获取 csrf token
|
||||
static Future<String> getCsrf() async {
|
||||
return Accounts.main.csrf;
|
||||
}
|
||||
|
||||
// static Future<void> buvidActive(Account account) async {
|
||||
// // 这样线程不安全, 但仍按预期进行
|
||||
// if (account.activited) return;
|
||||
|
||||
Reference in New Issue
Block a user