mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
small refactoring of login / logout
This commit is contained in:
@@ -35,7 +35,7 @@ export class PeopleApi extends RepoApi {
|
||||
.catch(this.handleError);
|
||||
}
|
||||
|
||||
createUser(username: string, password: string, details?: Person): Promise<any> {
|
||||
createUser(username: string, password?: string, details?: Person): Promise<any> {
|
||||
const person: Person = new Person(username, password, details);
|
||||
const onSuccess = (response) => response;
|
||||
const onError = (response) => {
|
||||
|
Reference in New Issue
Block a user