Skip to content

Commit 8193ebd

Browse files
quentinchapdavideast
authored andcommitted
Update 5-user-authentication.md (angular#224)
1 parent 180b33c commit 8193ebd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/5-user-authentication.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ import { AngularFire, AuthProviders, AuthMethods } from 'angularfire2';
131131
moduleId: module.id,
132132
selector: 'app',
133133
template: `
134-
<div> {{ (af.auth | async).uid }} </div>
134+
<div> {{ (af.auth | async)?.uid }} </div>
135135
<button (click)="login()">Login With Twitter</button>
136136
<button (click)="overrideLogin()">Login Anonymously</button>
137137
`,

0 commit comments

Comments
 (0)