mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 08:53:48 +01:00
parent
70108fb430
commit
481cfa2146
@ -29,7 +29,7 @@ export const meta = {
|
||||
};
|
||||
|
||||
export default define(meta, async (ps, user, token) => {
|
||||
const isSecure = token == null;
|
||||
const isSecure = user != null && token == null;
|
||||
|
||||
// Lookup app
|
||||
const ap = await Apps.findOne(ps.appId);
|
||||
|
Loading…
Reference in New Issue
Block a user