Skip to content

Add auth parameter to User component #122

@akademy

Description

@akademy

Instead of setting each of the User Props, we could pass in auth from the "useAuth()" context.

We can then connect it to the login/logout buttons, and change the logged in user name, when authorisation is complete.

In addition, we could also add a link to a profile page, in the user drop down menu.

This would not replace how it currently works, only enhance it.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions