refactor: put the input password in a separate component
Some checks failed
Build and Deploy Angular App / build (push) Failing after 1m17s
Some checks failed
Build and Deploy Angular App / build (push) Failing after 1m17s
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
import {Injectable} from "@angular/core";
|
||||
import ApiService, {AvailableVersion} from "@api/api.service";
|
||||
import {PasswordPolicy} from "@model/passwordPolicy";
|
||||
|
||||
@Injectable()
|
||||
export default class SecurityService extends ApiService {
|
||||
@ -14,4 +15,12 @@ export default class SecurityService extends ApiService {
|
||||
|
||||
return this.combinedUrl(request);
|
||||
}
|
||||
|
||||
public passwordPolicy() {
|
||||
let request = this.createRequestBuilder()
|
||||
.setEndpoint('PasswordPolicy')
|
||||
.build;
|
||||
|
||||
return this.get<PasswordPolicy>(request);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user