Skip to content

Commit 9d56015

Browse files
megothArne Hassel
authored andcommitted
Migrated authn module to TypeScript
Again, only simple migration, no refactoring of existing code.
1 parent 95ab5ef commit 9d56015

16 files changed

Lines changed: 459 additions & 361 deletions

File tree

src/acl/acl-control.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ import utils from '../utils.js'
99
import { ACLbyCombination, adoptACLDefault, getACLorDefault, makeACLGraphbyCombo, readACL, sameACL } from './acl'
1010
import widgets from '../widgets'
1111
import icons from '../iconBase.js'
12-
import authn from '../signin.js'
1312
import { graph, IndexedFormula, NamedNode, sym, UpdateManager } from 'rdflib'
1413
import { DataBrowserContext } from 'pane-registry'
14+
import { logInLoadProfile } from '../authn/authn'
1515

1616
// In apps which may use drag and drop, this utility takes care of the fact
1717
// by default in a browser, an uncuaght user drop into a browser window
@@ -605,7 +605,7 @@ export function ACLControlBox5 (
605605
async event => {
606606
removeOthers(event.target)
607607
const eventContext: any = { div: bar, dom }
608-
await authn.logInLoadProfile(eventContext)
608+
await logInLoadProfile(eventContext)
609609
const trustedApps = kb.each(eventContext.me, ns.acl('trustedApp'))
610610
const trustedOrigins = trustedApps.flatMap(app =>
611611
kb.each(app, ns.acl('origin'))

0 commit comments

Comments
 (0)