Implement MiAuth
This commit is contained in:
parent
608b8bb741
commit
6be127e18b
19 changed files with 330 additions and 48 deletions
|
|
@ -28,9 +28,7 @@ export const meta = {
|
|||
}
|
||||
};
|
||||
|
||||
export default define(meta, async (ps, user, app) => {
|
||||
const isSecure = user != null && app == null;
|
||||
|
||||
export default define(meta, async (ps, user, isSecure) => {
|
||||
// Lookup app
|
||||
const ap = await Apps.findOne(ps.appId);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue