Fixed authService.me sometimes using invalid url (possible relation to #289)
This commit is contained in:
parent
31ab0747b2
commit
29c8ad8589
|
@ -127,7 +127,8 @@ export class AuthService extends BaseService {
|
||||||
}
|
}
|
||||||
|
|
||||||
public me(): Observable<Principal> {
|
public me(): Observable<Principal> {
|
||||||
const url = this.actionUrl + '/me';
|
this.actionUrl = this.configurationService.server + 'auth/';
|
||||||
|
const url = this.actionUrl + 'me';
|
||||||
const principal = this.current();
|
const principal = this.current();
|
||||||
if (!principal) {
|
if (!principal) {
|
||||||
this.clear();
|
this.clear();
|
||||||
|
|
Loading…
Reference in New Issue