parent
c1f6d996f6
commit
ea7504f564
|
@ -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 a new issue