mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 05:25:40 +09:00
fix(api): mask Tor blocks as administrator IP bans (#2023)
This commit is contained in:
1 parent
14a935db81
commit
cf1a7d7a8a
7 files changed
+6
-23
No files matched your search
@@ -311,7 +311,7 @@ describe('Auth registration', () => {
|
||||
date_of_birth: '2000-01-01',
|
||||
consent: true,
|
||||
})
|
||||
.expect(403, 'TOR_BLOCKED')
|
||||
.expect(403, 'GLOBAL_IP_BANNED')
|
||||
.execute();
|
||||
} finally {
|
||||
torExitListCache.clearForTesting();
|
||||
|
||||
Reference in new issue
Block a user