@lenne.tech/ng-base 14.29.0 → 14.29.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1033,9 +1033,6 @@ class AuthService {
1033
1033
  if (!localStorage) {
1034
1034
  return undefined;
1035
1035
  }
1036
- else if (!this._currentUser.value) {
1037
- this.loadFromStorage();
1038
- }
1039
1036
  return this._currentUser.value;
1040
1037
  }
1041
1038
  set currentUser(user) {
@@ -1043,9 +1040,6 @@ class AuthService {
1043
1040
  this.storageService.save('currentUser', user);
1044
1041
  }
1045
1042
  get currentUserObservable() {
1046
- if (!this._currentUser.value) {
1047
- this.loadFromStorage();
1048
- }
1049
1043
  return this._currentUser.asObservable();
1050
1044
  }
1051
1045
  // #################################################################
@@ -1055,9 +1049,6 @@ class AuthService {
1055
1049
  if (!localStorage) {
1056
1050
  return undefined;
1057
1051
  }
1058
- else if (this._token.value) {
1059
- this.loadFromStorage();
1060
- }
1061
1052
  return this._token.value;
1062
1053
  }
1063
1054
  set token(token) {