mirror of
https://github.com/documize/community.git
synced 2025-07-22 22:59:43 +02:00
auth with cas
This commit is contained in:
parent
8c99977fc9
commit
8c2df6178d
150 changed files with 43682 additions and 24175 deletions
|
@ -12,7 +12,6 @@
|
|||
import { inject as service } from '@ember/service';
|
||||
import AuthProvider from '../../../mixins/auth';
|
||||
import Controller from '@ember/controller';
|
||||
import {Promise as EmberPromise} from "rsvp";
|
||||
|
||||
export default Controller.extend(AuthProvider, {
|
||||
appMeta: service('app-meta'),
|
||||
|
@ -73,14 +72,6 @@ export default Controller.extend(AuthProvider, {
|
|||
// this.set('invalidCredentials', true);
|
||||
// });
|
||||
// }
|
||||
},
|
||||
loginWithCAS(){
|
||||
// let config = this.get('config');
|
||||
let url = 'https://sso.bangdao-tech.com/sso/login?service=' + encodeURIComponent('https://duty.bangdao-tech.com/');
|
||||
window.location.replace(url);
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue