Remove gender-specific terminology from comments
This commit is contained in:
parent
f3f99ebd70
commit
48dee6a36f
|
|
@ -53,7 +53,7 @@ export class LoginComponent implements OnInit {
|
||||||
switch (result.status) {
|
switch (result.status) {
|
||||||
case AuthenticationResultStatus.Redirect:
|
case AuthenticationResultStatus.Redirect:
|
||||||
// We replace the location here so that in case the user hits the back
|
// We replace the location here so that in case the user hits the back
|
||||||
// arrow from within the login page he doesn't get into an infinite
|
// arrow from within the login page they don't get into an infinite
|
||||||
// redirect loop.
|
// redirect loop.
|
||||||
window.location.replace(result.redirectUrl);
|
window.location.replace(result.redirectUrl);
|
||||||
break;
|
break;
|
||||||
|
|
@ -120,7 +120,7 @@ export class LoginComponent implements OnInit {
|
||||||
|
|
||||||
private redirectToApiAuthorizationPath(apiAuthorizationPath: string) {
|
private redirectToApiAuthorizationPath(apiAuthorizationPath: string) {
|
||||||
// It's important that we do a replace here so that when the user hits the back arrow on the
|
// It's important that we do a replace here so that when the user hits the back arrow on the
|
||||||
// browser he gets sent back to where it was on the app instead of to an endpoint on this
|
// browser they get sent back to where it was on the app instead of to an endpoint on this
|
||||||
// component.
|
// component.
|
||||||
const redirectUrl = `${window.location.origin}${apiAuthorizationPath}`;
|
const redirectUrl = `${window.location.origin}${apiAuthorizationPath}`;
|
||||||
window.location.replace(redirectUrl);
|
window.location.replace(redirectUrl);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue