aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/core/auth/auth.service.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/core/auth/auth.service.ts')
-rw-r--r--client/src/app/core/auth/auth.service.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/app/core/auth/auth.service.ts b/client/src/app/core/auth/auth.service.ts
index fd2708c11..0db197f02 100644
--- a/client/src/app/core/auth/auth.service.ts
+++ b/client/src/app/core/auth/auth.service.ts
@@ -194,7 +194,6 @@ export class AuthService {
194 } 194 }
195 195
196 this.mergeUserInformation(obj) 196 this.mergeUserInformation(obj)
197 .do(() => this.userInformationLoaded.next(true))
198 .subscribe( 197 .subscribe(
199 res => { 198 res => {
200 this.user.displayNSFW = res.displayNSFW 199 this.user.displayNSFW = res.displayNSFW
@@ -203,6 +202,8 @@ export class AuthService {
203 this.user.account = res.account 202 this.user.account = res.account
204 203
205 this.user.save() 204 this.user.save()
205
206 this.userInformationLoaded.next(true)
206 } 207 }
207 ) 208 )
208 } 209 }