You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
consul/ui/packages/consul-ui/app/services/can.js

11 lines
363 B

import Service from 'ember-can/services/can';
export default class CanService extends Service {
parse(str) {
// It's nicer to talk about SSO but technically its part of the authMethod
// ability, we probably only need 'use SSO' but if we need more, reasses
// the `replace`
return super.parse(str.replace('use SSO', ' use authMethods'));
}
}