Skip to content

Commit

Permalink
fixes a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
rishabhpoddar committed Sep 17, 2024
1 parent bbc266a commit 3a668ff
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 20 deletions.
8 changes: 4 additions & 4 deletions v2/emailpassword/pre-built-ui/auth-redirection.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -156,14 +156,14 @@ import { Component } from "@angular/core";
export class NavBarComponent {
async onLogin () {
// highlight-next-line
window.location.href = "/auth?show=signin&redirecToPath=" + encodeURIComponent(window.location.pathname);
window.location.href = "/auth?show=signin&redirectToPath=" + encodeURIComponent(window.location.pathname);
}
}
```

- Set `show=signin` to take them to the sign in screen
- Set `show=signup` to take them to the sign up screen
- Set `redirecToPath` to redirect the user to a specific page after they have signed in, or you can skip it to take them to the `/` route (which is the default one).
- Set `redirectToPath` to redirect the user to a specific page after they have signed in, or you can skip it to take them to the `/` route (which is the default one).

</TabItem>

Expand All @@ -187,7 +187,7 @@ export default {
methods: {
async onLogin() {
// highlight-next-line
window.location.href = "/auth?show=signin&redirecToPath=" + encodeURIComponent(window.location.pathname);
window.location.href = "/auth?show=signin&redirectToPath=" + encodeURIComponent(window.location.pathname);
}
}
};
Expand All @@ -196,7 +196,7 @@ export default {

- Set `show=signin` to take them to the sign in screen
- Set `show=signup` to take them to the sign up screen
- Set `redirecToPath` to redirect the user to a specific page after they have signed in, or you can skip it to take them to the `/` route (which is the default one).
- Set `redirectToPath` to redirect the user to a specific page after they have signed in, or you can skip it to take them to the `/` route (which is the default one).

</TabItem>
</FrontendPreBuiltUITabs>
Expand Down
8 changes: 4 additions & 4 deletions v2/passwordless/pre-built-ui/auth-redirection.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -156,14 +156,14 @@ import { Component } from "@angular/core";
export class NavBarComponent {
async onLogin () {
// highlight-next-line
window.location.href = "/auth?show=signin&redirecToPath=" + encodeURIComponent(window.location.pathname);
window.location.href = "/auth?show=signin&redirectToPath=" + encodeURIComponent(window.location.pathname);
}
}
```

- Set `show=signin` to take them to the sign in screen
- Set `show=signup` to take them to the sign up screen
- Set `redirecToPath` to redirect the user to a specific page after they have signed in, or you can skip it to take them to the `/` route (which is the default one).
- Set `redirectToPath` to redirect the user to a specific page after they have signed in, or you can skip it to take them to the `/` route (which is the default one).

</TabItem>

Expand All @@ -187,7 +187,7 @@ export default {
methods: {
async onLogin() {
// highlight-next-line
window.location.href = "/auth?show=signin&redirecToPath=" + encodeURIComponent(window.location.pathname);
window.location.href = "/auth?show=signin&redirectToPath=" + encodeURIComponent(window.location.pathname);
}
}
};
Expand All @@ -196,7 +196,7 @@ export default {

- Set `show=signin` to take them to the sign in screen
- Set `show=signup` to take them to the sign up screen
- Set `redirecToPath` to redirect the user to a specific page after they have signed in, or you can skip it to take them to the `/` route (which is the default one).
- Set `redirectToPath` to redirect the user to a specific page after they have signed in, or you can skip it to take them to the `/` route (which is the default one).

</TabItem>
</FrontendPreBuiltUITabs>
Expand Down
8 changes: 4 additions & 4 deletions v2/thirdparty/pre-built-ui/auth-redirection.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -156,14 +156,14 @@ import { Component } from "@angular/core";
export class NavBarComponent {
async onLogin () {
// highlight-next-line
window.location.href = "/auth?show=signin&redirecToPath=" + encodeURIComponent(window.location.pathname);
window.location.href = "/auth?show=signin&redirectToPath=" + encodeURIComponent(window.location.pathname);
}
}
```

- Set `show=signin` to take them to the sign in screen
- Set `show=signup` to take them to the sign up screen
- Set `redirecToPath` to redirect the user to a specific page after they have signed in, or you can skip it to take them to the `/` route (which is the default one).
- Set `redirectToPath` to redirect the user to a specific page after they have signed in, or you can skip it to take them to the `/` route (which is the default one).

</TabItem>

Expand All @@ -187,7 +187,7 @@ export default {
methods: {
async onLogin() {
// highlight-next-line
window.location.href = "/auth?show=signin&redirecToPath=" + encodeURIComponent(window.location.pathname);
window.location.href = "/auth?show=signin&redirectToPath=" + encodeURIComponent(window.location.pathname);
}
}
};
Expand All @@ -196,7 +196,7 @@ export default {

- Set `show=signin` to take them to the sign in screen
- Set `show=signup` to take them to the sign up screen
- Set `redirecToPath` to redirect the user to a specific page after they have signed in, or you can skip it to take them to the `/` route (which is the default one).
- Set `redirectToPath` to redirect the user to a specific page after they have signed in, or you can skip it to take them to the `/` route (which is the default one).

</TabItem>
</FrontendPreBuiltUITabs>
Expand Down
8 changes: 4 additions & 4 deletions v2/thirdpartyemailpassword/pre-built-ui/auth-redirection.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -156,14 +156,14 @@ import { Component } from "@angular/core";
export class NavBarComponent {
async onLogin () {
// highlight-next-line
window.location.href = "/auth?show=signin&redirecToPath=" + encodeURIComponent(window.location.pathname);
window.location.href = "/auth?show=signin&redirectToPath=" + encodeURIComponent(window.location.pathname);
}
}
```

- Set `show=signin` to take them to the sign in screen
- Set `show=signup` to take them to the sign up screen
- Set `redirecToPath` to redirect the user to a specific page after they have signed in, or you can skip it to take them to the `/` route (which is the default one).
- Set `redirectToPath` to redirect the user to a specific page after they have signed in, or you can skip it to take them to the `/` route (which is the default one).

</TabItem>

Expand All @@ -187,7 +187,7 @@ export default {
methods: {
async onLogin() {
// highlight-next-line
window.location.href = "/auth?show=signin&redirecToPath=" + encodeURIComponent(window.location.pathname);
window.location.href = "/auth?show=signin&redirectToPath=" + encodeURIComponent(window.location.pathname);
}
}
};
Expand All @@ -196,7 +196,7 @@ export default {

- Set `show=signin` to take them to the sign in screen
- Set `show=signup` to take them to the sign up screen
- Set `redirecToPath` to redirect the user to a specific page after they have signed in, or you can skip it to take them to the `/` route (which is the default one).
- Set `redirectToPath` to redirect the user to a specific page after they have signed in, or you can skip it to take them to the `/` route (which is the default one).

</TabItem>
</FrontendPreBuiltUITabs>
Expand Down
8 changes: 4 additions & 4 deletions v2/thirdpartypasswordless/pre-built-ui/auth-redirection.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -156,14 +156,14 @@ import { Component } from "@angular/core";
export class NavBarComponent {
async onLogin () {
// highlight-next-line
window.location.href = "/auth?show=signin&redirecToPath=" + encodeURIComponent(window.location.pathname);
window.location.href = "/auth?show=signin&redirectToPath=" + encodeURIComponent(window.location.pathname);
}
}
```

- Set `show=signin` to take them to the sign in screen
- Set `show=signup` to take them to the sign up screen
- Set `redirecToPath` to redirect the user to a specific page after they have signed in, or you can skip it to take them to the `/` route (which is the default one).
- Set `redirectToPath` to redirect the user to a specific page after they have signed in, or you can skip it to take them to the `/` route (which is the default one).

</TabItem>

Expand All @@ -187,7 +187,7 @@ export default {
methods: {
async onLogin() {
// highlight-next-line
window.location.href = "/auth?show=signin&redirecToPath=" + encodeURIComponent(window.location.pathname);
window.location.href = "/auth?show=signin&redirectToPath=" + encodeURIComponent(window.location.pathname);
}
}
};
Expand All @@ -196,7 +196,7 @@ export default {

- Set `show=signin` to take them to the sign in screen
- Set `show=signup` to take them to the sign up screen
- Set `redirecToPath` to redirect the user to a specific page after they have signed in, or you can skip it to take them to the `/` route (which is the default one).
- Set `redirectToPath` to redirect the user to a specific page after they have signed in, or you can skip it to take them to the `/` route (which is the default one).

</TabItem>
</FrontendPreBuiltUITabs>
Expand Down

0 comments on commit 3a668ff

Please sign in to comment.