mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-24 00:39:32 +09:00
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 New Issue
Block a user