mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-03-04 07:18:50 -07:00
parent
70108fb430
commit
481cfa2146
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue