Skip to content

Commit

Permalink
Remove nice spaces for the linter
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Aug 26, 2024
1 parent c6de3c8 commit a23cc8b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
7 changes: 1 addition & 6 deletions src/auth/FormElement.ts
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,6 @@ export default class GmfAuthForm extends GmfBaseElement {

/**
* Calls the authentication service changePassword method.
*
* @param evt the event
*/
changePassword(evt: Event): void {
Expand Down Expand Up @@ -457,7 +456,6 @@ export default class GmfAuthForm extends GmfBaseElement {

/**
* Calls the authentication service login method.
*
* @param evt Event from the form submit action.
*/
login(evt: Event): void {
Expand Down Expand Up @@ -503,7 +501,6 @@ export default class GmfAuthForm extends GmfBaseElement {

/**
* Calls the authentication service logout method.
*
* @param evt Event from the form submit action.
*/
logout(evt: Event): void {
Expand Down Expand Up @@ -536,7 +533,6 @@ export default class GmfAuthForm extends GmfBaseElement {

/**
* Calls the authentication service resetPassword method.
*
* @param evt Event from the form submit action.
*/
resetPassword(evt: Event): void {
Expand Down Expand Up @@ -591,8 +587,7 @@ export default class GmfAuthForm extends GmfBaseElement {
}

/**
* Set an error notification
*
* Set an error notification.
* @param errors List of errors
* @param messageType Type of message
*/
Expand Down
5 changes: 0 additions & 5 deletions src/auth/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ let userTransformer = (user: User) => user;

/**
* Method defined in the aim to be overridden.
*
* @param fn The callback function to apply after login.
*/
export function setOnSuccessfulLoginFunction(fn: typeof userTransformer): void {
Expand Down Expand Up @@ -66,22 +65,19 @@ export enum RouteSuffix {
export class AuthenticationService {
/**
* The authentication url without trailing slash.
*
* @private
*/
baseUrl_: string;

/**
* The user.
*
* @private
*/
user_: User;

/**
* Don't request a new user object from the back-end after
* logging out if the logged-in user's role has this role.
*
* @private
*/
noReloadRole_: undefined | gmfOptionsGmfAuthenticationNoReloadRole;
Expand All @@ -93,7 +89,6 @@ export class AuthenticationService {
constructor() {
/**
* The authentication url without trailing slash.
*
* @private
*/
this.baseUrl_ = null;
Expand Down

0 comments on commit a23cc8b

Please sign in to comment.