Permissions refactor; create sharing API; update dependencies

This commit is contained in:
garrettmills
2020-02-14 00:11:16 -06:00
parent b427a16601
commit 46f60a671a
17 changed files with 609 additions and 75 deletions

View File

@@ -20,6 +20,9 @@ const Model = require('flitter-auth/model/KeyAction')
*/
class KeyAction extends Model {
auth_url() {
return this.url().replace('auth/action/', 'auth/action/login/')
}
}
module.exports = exports = KeyAction