Skip to content
This repository was archived by the owner on Jun 11, 2025. It is now read-only.

Commit cf62fcf

Browse files
eromanomagemello
authored andcommitted
trim usernam #184 (#185)
1 parent ff740e0 commit cf62fcf

File tree

4 files changed

+210
-172
lines changed

4 files changed

+210
-172
lines changed

CHANGELOG.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@
33
</p>
44

55
Alfresco JS API
6-
<a name="1.1.2"></a>
7-
# [1.1.2](https://github.com/Alfresco/alfresco-js-api/releases/tag/1.1.2) (01-02-2017)
6+
<a name="1.2.0"></a>
7+
# [1.2.0](https://github.com/Alfresco/alfresco-js-api/releases/tag/1.2.0) (xx-xx-2017)
88
## Fix
99
- [Upgrade superagent library to 3.4.1 and provide responseType override #180](https://github.com/Alfresco/alfresco-js-api/pull/180)
10+
- [Username should be trimmed in the login #184](https://github.com/Alfresco/alfresco-js-api/pull/184)
1011

1112
<a name="1.1.1"></a>
1213
# [1.1.1](https://github.com/Alfresco/alfresco-js-api/releases/tag/1.1.1) (27-01-2017)
@@ -37,7 +38,7 @@ _This project provides a JavaScript client API into the v1 Alfresco REST API_
3738
hostBpm: 'http://127.0.0.1:9999',
3839
contextRootBpm: 'activiti-custom-root'
3940
});
40-
41+
4142
this.bpmAuth.login('admin', 'admin');
4243
```
4344

@@ -279,7 +280,7 @@ Before:
279280
```javascript
280281
this.alfrescoJsApi = new AlfrescoApi({ host :''http://127.0.0.1:8080', ticket :'TICKET_4479f4d3bb155195879bfbb8d5206f433488a1b1'});
281282
```
282-
283+
283284
After:
284285
285286
```javascript
@@ -290,7 +291,7 @@ this.alfrescoJsApi = new AlfrescoApi({ ticketEcm:'TICKET_4479f4d3bb155195879bfbb
290291
//Login ticket BPM
291292
this.alfrescoJsApi = new AlfrescoApi({ ticketBpm: 'Basic YWRtaW46YWRtaW4=', hostBpm:'http://127.0.0.1:9999'});
292293

293-
//Login ticket ECM and BPM
294+
//Login ticket ECM and BPM
294295
this.alfrescoJsApi = new AlfrescoApi({ ticketEcm:'TICKET_4479f4d3bb155195879bfbb8d5206f433488a1b1', ticketBpm: 'Basic YWRtaW46YWRtaW4=', hostEcm:'http://127.0.0.1:8080', hostBpm:'http://127.0.0.1:9999'});
295296
```
296297

0 commit comments

Comments
 (0)