Skip to content
This repository has been archived by the owner on Dec 9, 2022. It is now read-only.

Add page for account activation #235

Merged
merged 4 commits into from
Apr 29, 2021
Merged

Conversation

marcauberer
Copy link
Contributor

  • Added dedicated page for activating accounts: <frontend-url>/activate/<token>
  • Minor tweaks

@marcauberer marcauberer added enhancement New feature or request improvement Improves something labels Apr 28, 2021
@marcauberer marcauberer self-assigned this Apr 28, 2021
Copy link
Member

@Splines Splines left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hot code 🔥

@@ -0,0 +1,17 @@
/*
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Like you said: try to figure out a way so that you don't have to use inidvidual dummy ng routing modules for every single page. Of course, you can still merge this as this can still be implemented in the future.

display: flex
height: 100vh
align-items: center
justify-content: center
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

flashbacks 😁

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh yes 😆


ngOnInit(): void {
this.route.params.subscribe(params => {
this.accountService.confirm(params.token).subscribe((_) => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(_) kind of bugs me 😅 Maybe find a way to tell our code inspector to ignore this one. I see no benefit in wrapping an underscore in parantheses, it just adds another step for my brain to ignore these parentheses when reading the code and thus makes it harder to understand (although only slightly).

@marcauberer marcauberer merged commit e707815 into develop Apr 29, 2021
@marcauberer marcauberer deleted the feature/activate-account branch April 29, 2021 08:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request improvement Improves something
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants